Adds z-index to flash