buffer_search: Fix DeployReplace not working when buffer search is already deployed (#29066)

Closes #29000

When buffer search is already deployed:
1. If find dialog is enabled, change it to find-and-replace dialog and
focuses to it
2. If find-and-replace is enabled, focuses to it 

Release Notes:

- Fixed an issue where invoking `DeployReplace` while the Find dialog
was open did not switch to the Find & Replace dialog.
- Fixed an issue where invoking `DeployReplace` while the Find & Replace
dialog was already open did not focus it.
65a7076ba8Smit Barmase committed on 4/18/2025, 6:56:02 PM· committed by GitHubparent3fe15ee
1 file changedLine totals unavailable