Creating a file with invalid name in Open-Note-Dialog (Ctrl + o)

Use case or problem

I often create new notes with the Open-dialog, because it’ll find related notes if they already exist. If they don’t, Obsidian will create a new note with that search term as the title (via the core Quick Switcher plugin, I think?).
However, using invalid characters will produce an error, as expected, but also close the dialog - meaning you now need to type the title again without the invalid characters.

Proposed solution

I found this related post Obsidian, please just create/rename the note minus the special character we accidentally put in the title, instead of making us start over - #2 by CawlinTeffid.
It would be nice if something similar happened with the above workflow of creating a new note. Maybe just not closing the dialog? Or creating the file with the invalid characters replaced with something?

Current workaround (optional)

None - need to retype the file name (search term).

Related feature requests (optional)

See above linked post.

Yeah, just not closing the dialog would match the behavior when (re)naming in the tab or sidebar.

I vote for this, ideally a core implementation of how this plugin replaces characters, however, if that’s too much, at least removing the forbidden characters to keep workflow would work for me.