added the flash out to the alert again...I think the form should be ok in production mode..we will see.  I also took the modal script out from the training page and put it