title: Dynamically create text in dialog box
body: <p>How can I dynamically set the text of the dialog box that I'm opening? I've tried a few different things but they all respond with an empty dialog box.</p>
  
  <p>Here is my current try:</p>
  
  <pre>
  $('#dialog').text('Click on the link to download the file:<br />'.data);
  $('#dialog').dialog("open");
  </pre>