title: Custom modal CanDeactivate Angular
body: <p>I have a problem.</p>
  
  <p>I have follow an example to custom modal in my CanDeactivate`.</p>
  
  <p>But it's not working for me...</p>
  
  <p>I have create a stackblitz :</p>
  
  <p><a href="https://stackblitz.com/edit/angular-tgs93u" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-tgs93u</a></p>
  
  <p>I have tried to use <code>ngx-bootstrap</code> and services</p>
  
  <p>Someone could you explain me why it doesn't work please?</p>
  
  <p>Thanks a lot.</p>