title: How to remove focus from a button after botstrap modal closed?
body: <p>When I click on a button that launches bootstrap modal, and then close the modal, the button is still in focus. How to change it.</p>
  
  <pre><code> &lt;a data-toggle="modal" href="#mymodal"&gt;Click me&lt;/a&gt;
  </code></pre>
  
  <p>The modal has just one button "OK", I've tried to write a jquery function:</p>
  
  <pre><code> function unfocus() {
       $('*:focus').blur();
   }
  </code></pre>
  
  <p>and the button then goes like this:</p>
  
  <pre><code> &lt;button type="button" class="btn btn-default" data-dismiss="modal" onclick="unfocus()"&gt;OK&lt;/button&gt;
  </code></pre>
  
  <p>but the focus remains on "Click me". How to remove it?</p>