Extracts flash messages to a partial