public static @Nullable @NlsSafe String showInputDialog(@NotNull Component parent,
                                                          @DialogMessage String message,
                                                          @DialogTitle String title,
                                                          @Nullable Icon icon,
                                                          @Nullable @NonNls String initialValue,
                                                          @Nullable InputValidator validator) {
    return MessagesService.getInstance().showInputDialog(null, parent, message, title, icon, initialValue, validator, null, null);
  }
public static @Nullable @NlsSafe String showInputDialog(@NotNull Component parent,
                                                          @DialogMessage String message,
                                                          @DialogTitle String title,
                                                          @Nullable Icon icon,
                                                          @Nullable @NonNls String initialValue,
                                                          @Nullable InputValidator validator)