Prevent default action when closing zen mode

Otherwise `ESC` closes for example windows fullscreen mode on OSX when exiting Zen mode.