<html>
<head>
<script type="text/javascript" src="js/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="js/ui.core.js"></script>
<script type="text/javascript" src="js/ui.dialog.js"></script>
</head>
<body>
<script type="text/javascript">
el = $('<div/>').dialog();
alert("isOpen="+el.dialog('isOpen'));
</script>
</body>
</html>