That was actually a thing back in the late 90s. There were ad popups that would do that, so the user couldn't close them.