escape key pressed working for each field