I'm not sure it's all that hard. It's never been a great idea to make core user flows reliant on modals (by all means use them, but make sure you either practice progressive enhancement or have a fallback). Sites doing so are at risk of failing their users. That said, I'd love for a solution akin to popup blocking: block the popunder but alert the user that it happened and allow them to show certain ones.