Create a new tab when the last tab exits