Clear alerts when navigating.