@Override
	public void closed(EditorProvider editor) {
		StackEditorProvider stackEditorProvider = (StackEditorProvider) editor;
		editorMap.remove(stackEditorProvider.getFunction());
	}
Check for any data types being edited for the given data
type manager that is being closed.
if pgm is null then all editors will be checked.
@param program the program whose stack editors are to be checked for changes. 
If null, then check all editors for save.
@return true if all stack editors were resolved and can close now; return
false if the user canceled the save action
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/stackeditor/StackEditorManager.java