java script set style attrbue modal hidden code example
Example: jquery modal on show + target button
$('#delete-file-modal').on('show.bs.modal', function (event) {
console.log(event.relatedTarget);
});
$('#delete-file-modal').on('show.bs.modal', function (event) {
console.log(event.relatedTarget);
});