The previous code was primarily there to work around misfeatures of OverlaySheet which no longer exist. Consequently, we don't have to leave in the hacks. Nice.
This further builds on the new OverlaySheet work done by Marco. The whole thing works much better, and with less client code. Nice.
BUG:419535