File Dialog: Hitting Enter key on macOS causes the dialog to enter "rename" file mode
On macOS, selecting a file or directory in the File Dialog by clicking on it and then hitting the Enter key causes the dialog to enter a "rename" mode, rather than clicking the default button (as it does on Linux)