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