hiding globals for popups and toolbars