Can close alert when request is cancelled

Associated event handler added, too