title: Unable to close the Mat dialog from NGRX Effect by problematically
body: <p>Please help me here is the my code snippet. i am able to close the dialog from component itself. but not from the effect. iam using material 8.2 version.</p>
  <pre><code>userAddedSuccess$ = createEffect(() =&gt; {
          return this.actions$.pipe(
              ofType(fromUserActions.addUserSuccess),
              tap(() =&gt; {
                  this.dialogRef.close(true);
              }));
        }, {dispatch: false});
  </code></pre>