diff --git a/src/components/angular2-modal/models/dialog-ref.ts b/src/components/angular2-modal/models/dialog-ref.ts index 76f7d896..fa9896c6 100644 --- a/src/components/angular2-modal/models/dialog-ref.ts +++ b/src/components/angular2-modal/models/dialog-ref.ts @@ -79,6 +79,7 @@ export class DialogRef { dismiss() { const _dismiss = () => { this.destroy(); + this._resultDeferred.promise.catch(() => {}); this._resultDeferred.reject(); }; this._fireHook('beforeDismiss')