Hide drop down popup when window is deactivated