I took the macro out, and unchecked the visibility checkbox, apply change then save and close, then save the entire page, the modal popup static HTML webpart still shows up.
I also still have the same error in the event log without the visibility macro - something else is definitely wrong
I then changed the Visible field back to a macro, and used {% CurrentDocument.AbsoluteURL.Contains("textHere") |(identity)GlobalAdministrator%}
- modal popup is still visible