private void showDialog(Function function) {
		int currentFunctionPurgeSize = function.getStackPurgeSize();

		if (currentFunctionPurgeSize == Function.INVALID_STACK_DEPTH_CHANGE ||
			currentFunctionPurgeSize == Function.UNKNOWN_STACK_DEPTH_CHANGE) {
			currentFunctionPurgeSize = 0;
		}
		NumberInputDialog numberInputDialog = new NumberInputDialog("Please Enter Function Purge",
			"Enter Function Purge", currentFunctionPurgeSize, -1048576, 1048576, false);
		numberInputDialog.setHelpLocation(new HelpLocation("FunctionPlugin", "Function_Purge"));

		if (!numberInputDialog.show()) {
			functionPlugin.getTool().setStatusInfo("User cancelled function purge");
			return;
		}
		int newFunctionPurgeSize = numberInputDialog.getValue();

		if (newFunctionPurgeSize != currentFunctionPurgeSize) {
			Command<Program> command = new SetFunctionPurgeCommand(function, newFunctionPurgeSize);

			PluginTool tool = functionPlugin.getTool();
			Program program = function.getProgram();

			if (!tool.execute(command, program)) {
				tool.setStatusInfo("Unable to set function purge on " + "function: " +
						function.getName());
			}
		}
	}
An action to set the stack purge of the function at the current 
location. 


@since  Tracker Id 548
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/EditFunctionPurgeAction.java