Re-Center Dialog

Re-Center Dialog


I have a table with about 50 rows (more than a screen length anyway!)
each row represents a distinct request.
When I scroll over one of the cells in the row I am pulling the
lengthy description of the request and displaying it in a modal
dialog.
    <div id="descriptionDialog">
        <div id="descriptionDialogContent"></div>
    </div>
The descriptionDialog is the dialog, and I empty and re-fill the
descriptionDialogContent with each new request as it is hovered over.
If there are better ways of doing this (which there almost certainly
are!) please let me know!...
Anyway ..that all works fine, the thing I can't quite get to work
(nicely) is that as you scroll down the page the dialog doesn't
recenter. So.. if you're looking at the 50th request - the dialog is
showing the correct info - but you have to scroll back up to the top
of the page to see it.
If I close and re-open the dialog every time, then it will re-center
down the page correctly, but that messes up other things and I'm sure
there's a nicer way of doing it.
So! My question :)
1) Is there a way to re-center an already open dialog within the
currently viewable window, without having to close it and re-open it.
2) If not, can I pass parameters to my bound close function when I
call it through $("#descriptionDialog").dialog('close');
Thanks for any and all suggestions!
Patrick