Fix Bug 37536 (window is closed before input field update it's value)
Fix Bug 37536 (window is closed before input field update it's value)

ONLYOFFICE/web-apps,ONLYOFFICE/web-apps,ONLYOFFICE/web-apps,ONLYOFFICE/web-apps