allow <esc> to cancel