I need to identify where the user clicked to close the lightbox MagnificPopup, because I'm going to take action on that.
Option:
.
$.magnificPopup.open({
items: {
src: '#thanksModal',
},
type: 'inline'
});
}