Use Close instead of Destroy in error handling dialogs.