hide popup when not active