make ENTER as a positive confirmation and ESC as negative confirmation

This is useful for the a developer as the ENTER/ESC key will be fairly
easy to press rather than 'y' or 'n' which is in the middle of a
standard QWERTY keyboard.