Fix problem where you couldn’t close an alert