about the dialogbox

about the dialogbox

Hi,
is there any way to call the dialog just, to show the string contained in a var ?
 without writing it to the div ar any other element.