Update z-index of warning