HTML Archiect: Closing search results doesn't switch to another tab

When user closes the search results, Architect keeps container empty instead of switching to the next tab. It should switch to the next tab, if there is one availabe.