give lower z-index to overlays than to buttons.