ESC to close in osx