helpers to show messages and to store messages that would be rendered in
an overlay