Make flash alerts in layout