g-overlay: separated modal from scrim behavior