Added filters to alert and close button for alerts