Add in the completely refactored warning popup code.