Added the ability to add the current tab to a tabset.