private void updateRecentList() {
		File currentDirectory = currentDirectory();
		if (!currentDirectory.equals(RECENT) && !recentList.contains(currentDirectory)) {
			String path = currentDirectory.getAbsolutePath();
			recentList.add(0, new RecentGhidraFile(path, fileChooserModel.getSeparator()));
		}

		while (recentList.size() > MAX_RECENT) {
			recentList.remove(recentList.size() - 1);
		}

		saveRecentList();
	}
SCR 3962 - in this mode we allow the user to press Enter/OK with no text in
the text field, which means to user the current directory as the selected dir
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/GhidraFileChooser.java