Zend certified PHP/Magento developer

magento2 model popup open internet exploer11 then page refresh

getData(‘prop_65’)): ?>

getUrl(‘https://www.p65warnings.ca.gov’) ?>”target=”_blank” class=”warning-msg-link”>

require(
[
‘jquery’,
‘Magento_Ui/js/modal/modal’
],
function(
$,
modal
) {
var options = {
type: ‘popup’,
responsive: true,
innerScroll: true,
title: ”,
modalClass: ‘proTextModal-wrapper’,
buttons: [{
text: $.mage.__(‘X’),
class: ”,
click: function () {
this.closeModal();
$(‘#popup-modal’).modal(‘closeModal’);
}
}]
};

var popup = modal(options, $(‘.warning-msg-text’));
$(“#proTextModal”).on(‘click’,function(){
$(“.warning-msg-text”).modal(“openModal”);
$(“.modal-header”).hide();
});

}
);