The selectedTab property determines which tab shows. How about setting a viewScope variable when the user searches. Compute the selectedTab property so that if the viewScope is not null, it's tab 3. I believe the property takes the tab ID.
There's also a setSelectedTab method you can use instead of programmatically computing the value.