jquery modal shwo hide code example
Example: hide and show modal jquery
$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');