DialogOverflowController
A controller that detects if the content part of a dialog overlay overflows its scrolling viewport vertically, and sets the overflow attribute on the overlay (and its owner) with top, bottom, or top bottom accordingly, so that overflow indicators can be styled in CSS.