Added event for escape key