title: Prevent modal popup reopen, angular 5 ionic framework
body: <p>I am using following line of code to open modal popup.</p>
  
  <pre><code>import { ModalController} from 'ionic-angular';
  
    openModal()
    {
      const modal = this.modalCtrl.create(ModalPage);
      modal.present();
    }
  </code></pre>
  
  <p>Now, from local notification click event, it opens modal popup. Everytime I click notification it open modal, I want that if modal popup is already opened in application, it should not reopen it.</p>
  
  <p><strong>How can I prevent modal from reopening?</strong></p>
  
  <p>Any help on this is highly appreciated.</p>