Support added to force the popup to show or hide.