Select the input text on edit
Cancel on escape key up