I’m not sure this logic is honest. In the black and white world you posit, an alert is merely a window of information just like a browser window. Of course the devil is in the details. I don’t mind a popup if it’s for SSO but I do mind it if it shows an ad. The same goes for modals, and the differences between modals and alert() are for more significant than you give credit.