return reference to hide popup