Dialog: Fix resizing with iframes

Create a full-window overlay during resize instead of having a dedicated
overlay per iframe. Full-window overlay will keep hiding the iframes
even when their size changes.

Fixes #9919