Onload de función de jQuery modal
$("#myModal").on('shown.bs.modal', function () {
alert('The modal is fully shown.');
});
Vyas
$("#myModal").on('shown.bs.modal', function () {
alert('The modal is fully shown.');
});