change behavior of ESC key