datepicker and dialog box

datepicker and dialog box


hi all,
i am having an issue using datepicker within a jquery dialog (modal)
box. the modal box gets called, the user clicks on the date input
field, and the datepicker box pops up. all is grand. EXCEPT... if the
user scrolls down the list of items on the initial screen, opens the
dialog box and clicks in the date field within the modal box, the
datepicker box opens, BUT it opens above the viewable area of the
screen. the scrolling down before opening the modal box is the key
element to the problem.
in other words, it seems that the datepicker is opening itself in
relation to the original field as it was rendered in the html and not
where the jquery dialog box is opening. i don't think this is a
datepicker bug, but there does seem to be an incompatibility with the
jquery dialog box.
has anyone used datepicker and the dialog box together on a screen
where the user may scroll down first?
i have tried test cases, researched the web and burned bad incense,
all to no avail.
if anyone can provide any help or assistance with this, i will be
forever grateful!
thank you for your time and consideration!
bill