private boolean isSpecialCurrentDirectorySelection(File file) {
		if (!isDirectoriesOnly()) {
			return false;
		}

		File currentDirectory = currentDirectory();
		String text = filenameTextField.getText();
		boolean noUserText = text == null || text.isEmpty();
		return file.equals(currentDirectory) && noUserText;
	}
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