Automatically rename currently open note when reference changed in sidebar

When I have a note open in the foreground, and a reference to that note open in the sidebar, renaming the reference creates a new page rather than renaming the page that is currently open. It’d be super nice if the note itself just changed to the new name.