Need to finish implementing closing of tabs.