title: Is it possible to capture the close event of popup in this case
body: <p>On click of a Button ,i am showing a popup .</p>
  
  <p>The popup is getting closed if clicked anywhere , my question <strong>is it possible to capture the close event of popup</strong> in this case </p>
  
  <p>Please see this fiddle and click on Position to Window Button </p>
  
  <p><a href="http://jsfiddle.net/tdzfhzjy/65/" rel="nofollow">http://jsfiddle.net/tdzfhzjy/65/</a></p>
  
  <p>My code </p>
  
  <pre><code> &lt;div role="main" class="ui-content oms-content"&gt;
              &lt;div class="myactivelabelsWrap"&gt;
         &lt;a href="#transitionExample" class="ui-btn ui-corner-all ui-shadow ui-btn-inline" data-rel="popup" data-position-to="window"&gt;Position to window&lt;/a&gt;
              &lt;div data-role="popup" id="transitionExample" class="ui-content" data-theme="a"&gt;
                  &lt;div class="popup_inner popup_sm"&gt;
                      &lt;div class="popup_content popup_myactivelabels_content"&gt;
                          &lt;p&gt;Sorry! Now we are not able to delivery these timings&lt;/p&gt;
                          &lt;h3&gt;Our Available timings&lt;/h3&gt;
                          &lt;p&gt;11am to 2pm&lt;/p&gt;
                      &lt;/div&gt;
  
                  &lt;/div&gt;
              &lt;/div&gt;
  
  $(document).on('click', '.close', function(event) {
  $('#transitionExample').popup('open')    
  });
  </code></pre>
  
  <p>Please let me know if this possible , thanks in advance . </p>