I'm sorry, to clarify, are you on a Mac running Safari, or iOS 11.0.3? The versions are very similar currently.
On a Mac, you can quit Safari, then hold Shift before clicking its icon to open it. This starts a new session and will get rid of a persistent popup.
Malwarebytes for Mac may also be of service