close all modals jquery code example
Example: close modal jquery
$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');