Property Manager - Hide & Show

The custom property manager allows you to do some actionswith it open -but some don't work when it is still open. Doesanyone have a suggestion for how to close the Property manager,perform an action, then re-show it?

THANKS!SolidworksApi macros