fix issue with closing last tab