alerts can now be removed on click