bump.
One way to implement this could be to add the ability to pin folders, ie to restrict a pane to only opening links from a certain folder (presumably your daily notes folder). Whenever you try to open a link to a note from anywhere in the app, if there is a pane that is pinned to the folder that the note is in, then that pane would behave as if it is not pinned during this situation. In code, you could do that by altering the functionality of a pin or by automatically un-pinning and re-pinning affected panes (exactly as OP is doing).
This would be pretty useful functionality for MOCs too. In addition to folder-pinning, you could also do tag-pinning, where a pane can only open notes with a given #tag.