title: How to capture pop up close whose id is generated dynamically at creation time
body: <p>How can i capture the closing of pop up event in this case ??</p>
  
  <p>In our Application the id's that are  being generated for the <strong>data-role="popup"</strong> is dynamic which depends on item id's present in our database </p>
  
  <p>So every item will have a unique ID as this case </p>
  
  <p>transitionExample<strong>101</strong><br>
  transitionExample<strong>201</strong> </p>
  
  <p>At the creation time the itemid will be appended to the text transitionExample</p>
  
  <p>In this case the how can i capture the close event of the popup ??</p>
  
  <p>please see this fiddle </p>
  
  <p><a href="http://jsfiddle.net/tdzfhzjy/75/" rel="nofollow">http://jsfiddle.net/tdzfhzjy/75/</a></p>
  
  <p>If its static id i could have used simply used where transitionExample is the id </p>
  
  <pre><code>$(document).on('click', '#transitionExample-screen', function () {
      alert('closing');
  
  });
  </code></pre>