public void show(FragmentActivity context) {
   final String tag = getBuilder().mTag;
   Fragment frag = context.getSupportFragmentManager().findFragmentByTag(tag);
   if (frag != null) {
     ((DialogFragment) frag).dismiss();
     context.getSupportFragmentManager().beginTransaction().remove(frag).commit();
   }
   show(context.getSupportFragmentManager(), tag);
 }
 @NonNull
 public FileChooserDialog show() {
   FileChooserDialog dialog = build();
   dialog.show(mContext);
   return dialog;
 }