modal popup close page properties code example
Example 1: close bootstrap modal with javascript
$('#myModal').modal('hide');
Example 2: when modal close event
$("yourid").on('hide.bs.modal', function(){
// do it here
});
$('#myModal').modal('hide');
$("yourid").on('hide.bs.modal', function(){
// do it here
});