Added feature #11783: Change existing warning boxes to use flash messages