Makes alerts dismissible.