This seems like a typical preference thing, the preference likely even changes over time.
Thus instead of a yes/no answer, the solution may rather be a toggling switch for the seachbar with keyboard that saves its state (i.e. remembers if the search is active or not).
Well, for the user, as mentioned above the “toggling switch for the seachbar” may simply keep its state, regardless how the dialog is closed. (As long as no specific preference is configured. A specific preference would make the dialog always open in search or browse mode respectively, no matter how the switch was set the last time the dialog was closed.)
we’ll give the non-automatic-open a try in the next release
i agree that the auomatic opening is annoying from time to time and it is probably easier to open the keyboard than to close it if if is unneeded.
same we do for the profile.