Implement a close button for flashbags messages.