Responding to keyboard events
Write something....
Press escape to clear the text
Press enter to trigger alert