Prevent editor view change when there is a modal window.
Prevent losing focus in modal window due to a click on emptiness.
For Travis CI - switch CI build to use OS X build environment.