title: Add "close" button to a bootstrap tab content
body: <p>I'm having trouble adding a "close" button to my Bootstrap tab content. Not only should the tabs open and close on hover, but I have to add a button to allow users to click and close the tab.</p>
  
  <pre><code>&lt;!-- SIDE NAV --&gt;
      &lt;div class="col-xs-3 hidden-xs"&gt;
          &lt;div class="row"&gt;
              &lt;nav class="side-nav"&gt;
                  &lt;ul class="nav nav-tabs" role="tablist"&gt;
                      &lt;li role="presentation" class="full-width"&gt;
                          &lt;a href="#accueil" aria-controls="accueil" role="tab" data-toggle="tab"&gt;TAB 1&lt;/a&gt;
                      &lt;/li&gt;
                      &lt;li role="presentation" class="full-width"&gt;
                          &lt;a href="#connaitre-la-ccmv" aria-controls="connaitre-la-ccmv" role="tab" data-toggle="tab"&gt;TAB 2&lt;/a&gt;
                      &lt;/li&gt;
                 &lt;/ul&gt;
              &lt;/nav&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;!-- Tab panes --&gt;
          &lt;div class="tab-content col-xs-9 hidden-xs"&gt;
              &lt;div role="tabpanel" class="tab-pane row" id="accueil"&gt;
                  &lt;div class="col-xs-4"&gt;
                      &lt;h5 class="title-tab"&gt;TAB CONTENT 1&lt;/h5&gt;
                      &lt;ul class="list-tab"&gt;
                          &lt;li&gt;
                              &lt;a href=""&gt;Some text&lt;/a&gt;
                          &lt;/li&gt;
                          &lt;li&gt;
                              &lt;a href=""&gt;Some other text&lt;/a&gt;
                          &lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/div&gt;
                  &lt;div class="col-xs-12"&gt;
                      &lt;button type="button" class="close"&gt;X&lt;/button&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  ...
  </code></pre>
  
  <p>Can someone please help with the js part ? I haven't found anything about it in the Bootstrap documentation...</p>