title: call function only for one bootstrap modal from 3 modals in the same page
body: <p>I'm stuck a little bit in a page where I have 3 bootstrap modals and I want to apply a function only for one modal and for the other two not.</p>
  
  <pre><code>$("body").on("shown.bs.modal", function() {
      alert('modal Open');
      //this alert should happen only on Modal demo 2
      //I cannot add an id or class on modal because this is created dynamically 
      //so pls I do not need this suggestion
  
  })
  </code></pre>
  
  <p>My function look like this: the selector on body looks for <code>shown.bs.modal</code> event and apply script my problem is that I want to apply this script only for particular modal and not for all modal from this page and other pages.</p>
  
  <p><strong><a href="http://jsfiddle.net/D2RLR/5994/" rel="nofollow">Fiddle:</a></strong></p>