preserve behavior of up/dn/home/end in ins-mode popups