MDL-39851 M.core.dialogue - More changes to fullscreen behavior.

Use CSS for overflow changes (easier to keep track of the previous state).