initial support for dismissible flash messages

[skip ci]