Esc before undo