bootstrap 4 modal popup w3schools code example
Example: jquery display modal bs4
$('a[href$="#Modal"]').on( "click", function() {
$('#Modal').modal('show');
});
$('a[href$="#Modal"]').on( "click", function() {
$('#Modal').modal('show');
});