ART-1056 - Avoid crash when closing alert window