add z-index for overlay