Fix problem where you cannot dismiss alerts