title: Can't close bootstrap modal via data-attribute data-backdrop
body: <p>I want to <strong>close</strong> my <strong>modal with a click on background</strong>. For this I want to <strong>use</strong> data-attribute <strong>data-backdrop</strong>, like this:</p>
  
  <pre><code>&lt;div id="myModal" class="modal fade" role="dialog" data-backdrop=""&gt;
      &lt;div class="modal-dialog"&gt;
          &lt;div class="modal-content"&gt;
              &lt;a class="link"&gt;
                  &lt;img src="URL" /&gt;
              &lt;/a&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Where is a problem?</p>
  
  <p>Thanks for your attention.</p>