Added ability to dismiss messages