adds message for click to dismiss