as I understand it, nuking JavaScript dialogs in cross-origin iframes is just a stepping stone on the ultimate goal: removing them from the web platform entirely.

Source: Choice Words about the Upcoming Deprecation of JavaScript Dialogs - CSS-Tricks

Removing these modals entirely would be a poor decision.