title: how to capture bootstrap modal open/close event in meteor js
body: <p>I am trying to capture bootstrap modal open/close event in meteor js to do some custom checks. I know how to do it in jquery:</p>
  
  <pre><code>$('#videoCallModal').on('shown.bs.modal', function () {
    // do something…
  })
  </code></pre>
  
  <p>but since I also want to refer the context (this object), I want to do it in Template.template.events.</p>
  
  <p>I tried something like, but the function was not invoked:</p>
  
  <pre><code>Template.videoCall.events = {
      'on #videoCallModal shown.bs.modal': function(e){
          e.preventDefault();
  
          console.log("modal open", this);
      }
  }
  </code></pre>
  
  <p>Is there any other way to capture the close/open of modal in meteor js</p>