Close modal with escape key