Change asynchronous editor closing to synchronous

Asynchronous editr closing could influence sequentional actions (such as toolbar lookup, ...)
Changing it to synchronous should resolve this issue.