title: Ionic 4 Angular - How to self dismiss a modal
body: <p>In Ionic 3, dismissing a modal was pretty simple:</p>
  
  <pre><code>constructor(viewCtrl: ViewController) {
      this.viewCtrl.dismiss()
  }
  </code></pre>
  
  <p>In Ionic 4, I can't import <code>ViewController</code> (or to be accurate, my IDE tries to import a type of ViewController).</p>
  
  <p>I was wondering what the new approach of dismissing a modal is.</p>