Dismiss alerts when clicking to another tab on the dashboard.