project_panel: Fix clicking away to create file or directory doesn't create it (#39716)

Closes #38919

Now, when unfocusing the filename editor while creating a file or
directory in the project panel, it will create it by default unless the
name is empty or already exists.

Release Notes:

- Improved behavior where unfocusing while creating a new file or
directory in the project panel now creates it instead of discarding it.
41f1835bbeSmit Barmase committed on 10/7/2025, 8:53:44 PM· committed by GitHubparent791ba9c
1 file changedLine totals unavailable