Added code for dismissible alerts