Close the window with esc aswell