changes NoMode keypress to Esc key

Forgot to change it earlier.