open modal with link html 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);
});