How do I specify where the html for dialogs are place?

How do I specify where the html for dialogs are place?

Hello,

By default, JQUI Dialog boxes are placed just before the </body> tag. This is a problem because it prevents the Scope feature within the JQUI download builder from working. Is there a way to tell the dialog boxes to render themselves somewhere else in the HTML?

Thank you,

Akheem
-------------------------
How it is normally rendered:
  1. <html>
  2.       <head></head>
  3.       <body>
  4.             <div>Normal html content</div>
  5.             <div>Normal html content</div>
  6.             <div>Where a dialog is placed by default</div>
  7.       </body>
  8. <html>
How I want it to render:

  1. <html>
  2.       <head></head>
  3.       <body>
  4.             <div>Normal html content</div>
  5.             <div>Where a dialog is placed by deafullt</div>
  6.             <div>Normal html content</div>
  7.       </body>
  8. <html>