My solution which works with multiple modals on page (based on Bootstrap modal examples):
$('.modal').on('show.bs.modal', function (event) {
var button = $(event.relatedTarget); // Button that triggered the modal
button.one('focus', function (event) {
$(this).blur();
});
});