add keyup escape key event handler