removeTab(tabEl = this.activeTabEl) {
    if (this.tabs.length === 1) {
      return
    }

    const tabIndex = tabEl.index()
    const tabId = tabEl.remove().data('tab')

    $(`#tab-${tabId}`).remove()
    const removedTab = this.tabs.splice(tabIndex, 1)[0]
    removedTab.destroy()

    this.container.tabs('refresh')

    if (this.tabs.length === 1) {
      this.hideTabBar()
    }
  }
Removes tab and cleans up any children

@param {Element} tabEl The tab element to remove