Only close chosen by Esc on keyup event and if chosen is opened, otherwise allow event to be propagated