cleanup gc_control.error_dialog attribute when we close the error dialog. See #6925