how to close a boostrap model code example
Example 1: jquery close bootstrap model
$('#modal').modal('hide');
Example 2: open bootstrap modal with javascript
$("#myModal").modal()
$('#modal').modal('hide');
$("#myModal").modal()