title: Bootstrap Modal Button Can't Autofocus
body: <p>I have a confirmation dialog with modal dialog from Bootstrap. I was add "autofocus" attribute for the"Yes" button. But when the dialog show, the button can't set as autofocus. 
  I have try this code:</p>
  
  <pre><code>$('.modal').on('shown', function () {
  
      $("#btnYes").focus();
  
  });
  </code></pre>
  
  <p>But also didn't work for me.</p>
  
  <p>If you have any solution, please tell me. Thanks in advance.</p>