Add ability to close a tab