escape button listener added to the edit input textbox