make alerts dismissable