public static @Nullable DialogWrapper findInstanceFromFocus() {
    return findInstance(KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner());
  }
public static @Nullable DialogWrapper findInstanceFromFocus()