how to open a modal using a link 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);
});