Close popups with escape key