function getTopOverlay() {
    let overlays = document.querySelectorAll('.overlay:not([hidden])');
    return overlays[overlays.length - 1];
  }
Gets the top, visible overlay. It makes the assumption that if multiple
overlays are visible, the last in the byte order is topmost.
TODO(estade): rely on aria-visibility instead?
@return {HTMLElement} The overlay.