title: Having issues with ng-idle/core onIdleEnd & Mat-Dialog
body: <p>There is an issue I have discovered with Ng-Idle, Material 6 nad Angular 6</p>
  
  <pre><code>"@ng-idle/core": "^6.0.0-beta.3"
  "@ng-idle/keepalive": "^6.0.0-beta.3"
  "@angular/core": "^6.1.9"
  "@angular/cdk": "^6.4.7"
  "@angular/material": "^6.4.7"
  </code></pre>
  
  <h3>The scenario</h3>
  
  <p>when ever a user has gone idle, a dialog (popup) displays a countdown how long until the user is logged out of the system. If the user return prior to being logged out with mouse activity, the countdown will halt and the dialog will close/disappear.</p>
  
  <h3>Issue</h3>
  
  <p><strong>However, in Angular 5, this feature was working fine until I upgraded to Angular 6.</strong> When ever the user returns prior to <code>onTimeout</code>, it fires the <code>onIdleEnd</code> but the dialog doesn't disappear on mouse activity. I created an Angular 6 app to replicate the issue. I am trying to determine if this is an Ng-Idle or an Angular issue.</p>
  
  <p><a href="https://stackblitz.com/github/alobban/MatDialogNgIdleIssue" rel="noreferrer">Stackblitz with Ng-Idle</a></p>
  
  <p><a href="https://stackblitz.com/edit/angular-aemvlg" rel="noreferrer">Stackblitz showing Mat-Dialog closing after 10 second countdown</a></p>
  
  <p><a href="https://github.com/alobban/MatDialogNgIdleIssue" rel="noreferrer">Github</a></p>
  
  <p>Has anyone come across this issue?</p>