Making alerts dismissable.