Fix dismissible flash messages

Fix #118.