jquery bootstrap modal close code example
Example 1: jquery close bootstrap model
$('#modal').modal('hide');
Example 2: close bootstrap modal with javascript
$('#myModal').modal('hide');
$('#modal').modal('hide');
$('#myModal').modal('hide');