Moves error or success messages from a form to the footer