test for alert close button