Move flash messages to layout