Handle close alert