Moved flash notice to layouts