title: Bootstrap: Handle multiple modal dialogs
body: <p>I want to deal with two different modal dialogs within Twitter Bootstrap. </p>
  
  <p>So the idea is that I just copy the modal dialog HTML and create a new button (BTN2) with  <code>data-toggle="modal2"</code>. And with a click on the new button (BTN2), the second modal dialog should show up, and not the first one.</p>
  
  <p>I tried it with a click on BTN2 but none of the dialogs showed up. On the existing button (BTN1), however, both dialogs show up.</p>
  
  <p>This is the current modal dialog. Yes it is based on the example provided by bootstrap.com, thus the bs-example-modal-lg class.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="PodcastModal" aria-hidden="true"&gt;
     &lt;div class="modal-dialog modal-lg"&gt;
        &lt;div class="modal-content"&gt;
           &lt;div class="modal-header"&gt;
              &lt;button type="button" class="close" data-dismiss="modal"&gt;&lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;&lt;span class="sr-only"&gt;Close&lt;/span&gt;&lt;/button&gt;
               &lt;ul class="nav nav-tabs" role="tablist" id="list"&gt;&lt;/ul&gt;
           &lt;/div&gt;
           &lt;div class="modal-body"&gt;
              &lt;div id="items"&gt;&lt;/div&gt;
           &lt;/div&gt;
           &lt;div class="modal-footer"&gt;
             &lt;button type="button" class="btn btn-primary" data-dismiss="modal"&gt;Done!&lt;/button&gt;
           &lt;/div&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  
  
  <p>This is the button to call the modal dialog.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="btn-group"&gt;
    &lt;button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg"&gt;
      &lt;span class="glyphicon glyphicon-plus"&gt;&lt;/span&gt; &lt;span class="hidden-xs"&gt;Add&lt;/span&gt;List&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>