Prevent editor view change when there is a modal window.
Prevent losing focus in modal window due to a click on emptiness.