InputDialog supports enter on the textbox and escape globally.