Several fixes for OKS data editor: * adjust size of multi-line text in object dialog; * destroy modal dialogs during database reload; * break the event loop, if the parent of modal dialog is destroyed to prevent application crash; * prevent opening of more than one input dialogs.