title: Show DialogFragment from another DialogFragment
body: <p>I have a <code>DialogFragment</code> that displays a list of options to the user, one of these options is "Delete" option, when the user presses the delete option I want to show another DialogFragment as a confirmation, unfortunately, the confirmation dialog doesn't show. </p>
  
  <p>here is my code </p>
  
  <p>First Fragment code</p>
  
  <pre><code>public class ContactDialogOption extends SherlockDialogFragment {
  
      public static final String TAG = ContactDialogOption.class.getSimpleName();
  
      public ContactDialogOption() {
          super();
          // TODO Auto-generated constructor stub
      }
  
      @Override
      public Dialog onCreateDialog(Bundle savedInstanceState) {
          AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
  
          builder.setIcon(R.drawable.ic_launcher);
          builder.setTitle(R.string.options);
  
          builder.setItems(new String[] {
  
          getString(R.string.call), getString(R.string.send_message),
                  getString(R.string.copy), getString(R.string.edit),
                  getString(R.string.delete)
  
          }, new DialogInterface.OnClickListener() {
  
              @Override
              public void onClick(DialogInterface dialog, int which) {
                            if(which == 4) //delete
                            {
  FragmentManager mgr = getActivity().getSupportFragmentManager();
      FragmentTransaction ft = mgr.beginTransaction();
          Fragment old = mgr.findFragmentByTag("SecondFragment");
          if (old != null) {
              ft.remove(old);
          }
          ft.addToBackStack(null);
  
  
  fragment.show(ft, fragmentTag);
                            }
              }
          });
  
          return builder.create();
      }
  }
  </code></pre>