adding in being able to dismiss alerts