title: How to replace a DialogFragment by another DialogFragment?
body: <p>We <em>add</em> a general/normal <code>Fragment</code> programatically by doing something like:</p>
  
  <pre><code>fragmentTransaction.add(containerViewId, fragmentToAdd, fragmentTag);
  </code></pre>
  
  <p>and we <em>replace</em> a <code>Fragment</code> by another by doing something like:</p>
  
  <pre><code>fragmentTransaction.replace(containerViewId, newFragment, tagOfNewFragment);
  </code></pre>
  
  <p>But we add a <strong><em><code>DialogFragment</code></em></strong> by </p>
  
  <pre><code>dialogFramentInstance.show(fragmentManager, fragmentTag);
  </code></pre>
  
  <p><strong>The question is that how should I <em>replace</em> this <code>DialogFragment</code> which has been added by the <code>show()</code> method?</strong></p>