Keep window settings when opening search from it