title: How to prevent multiple Dialog instance being created so that I can cleanly dismiss()?
body: <p>I have the <code>Bluetooth</code> callback that is sometimes triggering twice and makes handling the dialog instance difficult to <code>dismiss()</code>.</p>
  
  <p>I am declaring the <code>Loader</code> instance in Global</p>
  
  <pre><code>LoaderProgress mLConnectdialogLoader = new LoaderProgress(InsoleConnection.this);
  </code></pre>
  
  <p>I trigger the dialog called "Connecting.." for 5 seconds and then dismiss.</p>
  
  <pre><code>new Handler().postDelayed(new Runnable() {
  
                      @Override
                      public void run() {
                      mLConnectdialogLoader.dismiss()
                      }
    },5000);
    mLConnectdialogLoader.show("Connecting...")
  </code></pre>
  
  <p>How to prevent the same instance being called twice so that I can avoid having the hard time in dismissing the dialog.</p>