Added keyboard events for Esc and Enter