adding the alert-dismiss x boxes on the flash notices