fix: toolbar 'search' button wouldn't toggle when opening search window from mainmenu