title: commitAllowingStateLoss on DialogFragment
body: <p>I have an <code>IllegalStateException</code> on showing a <code>DialogFragment</code> : </p>
  
  <pre><code>java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  </code></pre>
  
  <p>i know why its happening but i want to using <strong>commitAllowingStateLoss</strong> on showing dialog by overriding DialogFragment <code>show</code> function : </p>
  
  <pre><code>public void show(FragmentManager manager, String tag) {
      mDismissed = false;
      mShownByMe = true;
      FragmentTransaction ft = manager.beginTransaction();
      ft.add(this, tag);
      ft.commit(); //replace it by commitAllowingStateLoss
  }
  </code></pre>
  
  <p>but i don't access to <code>mDismissed</code> and <code>mShownByMe</code> variables , how can i access those variables to modify them as it's parent did.</p>