make pressing escape quit the menu