made alerts dismissable