back to NSWindow from NSPanel, otherwise hitting esc key would quit the app