working popup on keydown
added hide functionality on blur
fixed merge problems