move flash message to application layout