If first tab is closed, open next tab if available