I used jquery cookie plugin to set a cookie and read it before i show the dialog
EXAMPLE: with a little bonus function
if ($.cookie("warned") != "warned"){
display_alert("WARNING: This diallog will not appear again until your next session");
$.cookie('warned', 'warned', { expires: 0 });
}
function display_alert(message,title) {
title = title || "Alert";
$('#alert').text(message);
$("#alert").dialog({
autoOpen: false,
bgiframe: true,
modal: true,
title:title,
buttons: {
OK: function() {
$(this).dialog('close');
}
}
});
$('#alert').dialog('option', 'title', title);
$("#alert").dialog('open');
}