code: public static void show(FragmentManager fragmentManager, Class<? extends MvcDialog> dialogClass) {
          FragmentTransaction ft = fragmentManager.beginTransaction();
          MvcDialog dialogFragment = (MvcDialog) fragmentManager.findFragmentByTag(dialogClass.getName());
          if (dialogFragment == null) {
              try {
                  dialogFragment = new ReflectUtils.newObjectByType<>(dialogClass).newInstance();
              } catch (Exception e) {
                  e.printStackTrace();
              }
          }
  
          ft.addToBackStack(null);
          dialogFragment.show(ft, dialogClass.getName());
      }
docs: Show dialog.
  @param fragmentManager The fragment manager. Usually it's the child fragment manager of the
  fragment on which the dialog will show
  @param dialogClass The class type of the dialog extending {@link MvcDialog}