title: Is it possible to display a modal in javascript like a popover below?
body: <p>I have tried to display the modal in bootstrap like in the popover below and does not work
  Is it possible to have it fixed and work well?</p>
  
  <pre><code>.on('click', '.event', function () {
          var $t = $(this), 
              index = +($t.attr('data-index')), 
              haspop = $t.data('popover'),
              data, time;
  
          if (haspop || isNaN(index)) { return true; }
          data = options.data[index];
          time = data.start.toTimeString();
          if (time &amp;&amp; data.end) { time = time + ' - ' + data.end.toTimeString(); }
          $t.data('popover',true);
          $t.popover({content: '&lt;p&gt;&lt;strong&gt;' + time + '&lt;/strong&gt;&lt;/p&gt;'+data.text, html: true, placement: 'auto left'}).popover('toggle');
          return false;
        });
  </code></pre>