close popovers with esc key rather than mouseup