When I “View Source” on a page that has that menu link, here is what the code looks like re: modal dialog:
<!-- Modal Dialog Output -->
<a class='inline' href='#inline_content'></a>
<div style='display:none'><div id='inline_content' style='padding:10px;color:#000000;background-color:#FFFFFF'><div id='inline_replaceable_content'>Are you sure you want to leave this page? This will take you to the website Home Page and exit the current program you are working on.</div></div></div>
<div id='md-content'>
<script type="text/javascript">
function modal_dialog_open() {
jQuery("a.inline").trigger('click')
cookievalue++;
jQuery.cookie('modal-dialog', cookievalue, { expires: 365, path: '/'});
}
function set_modal_dialog_content( newContent ) {
jQuery('#inline_replaceable_content').replaceWith( "<div id='inline_replaceable_content'>" + newContent + "</div>");
};
function set_modal_dialog_web_site_address( newAddress ) {
jQuery('a.iframe').attr( 'href', newAddress );
};
function modal_dialog_close() {
jQuery.colorbox.close();
}
var cookievalue = jQuery.cookie('modal-dialog');
if (cookievalue == null) cookievalue = 0;
jQuery(document).ready(function() {
jQuery("a.inline").colorbox({
inline: true,
returnFocus: false,
overlayClose: false,
closeButton: true,
escKey: true,
width: '200',
height: '200',
transition: "fade",
overlayOpacity: 0.3
});
if (cookievalue < 0)
{
setTimeout(
function(){
modal_dialog_open();
}, 2000);
};
});
</script>
</div>
<!-- End of Modal Dialog Output -->