Explain the problem as you see it
Right now, when having two panels open, opening a new note with the search function (command+s) will only work for the first panel and it is not possible to switch to the second one.
Why is this a problem for you?
Panels for me are useful to quickly have different informations side by side.
The workflow to open two arbitrary topics side by side should be quick and frictionless.
(Right now one has to manually navigate to the destination)
Suggest a solution
The last edited panel should become focused.
Any search (and maybe other commands) should act there.
Simply clicking in another panel, enables actions there.