extracted alert and notice pieces from application layout and moved to a notices partial