private JPanel buildNamePanel() {
		nameField = new JTextField(20);
		nameField.setText(scriptFile == null ? "" : scriptFile.getName());

		JPanel panel = new JPanel(new BorderLayout(10, 10));
		panel.add(new GLabel("Enter script file name:"), BorderLayout.NORTH);
		panel.add(nameField, BorderLayout.CENTER);
		return panel;
	}
Only called directly from testing!

@param parent parent component
@param title dialog title
@param componentProvider the provider
@param scriptDirs list of directories to give as options when saving
@param scriptFile the default save location
@param scriptProvider the {@link GhidraScriptProvider}
@param help contextual help, e.g. for rename or save
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/SaveDialog.java