Issue with datepicker, cannot click on date / not filling field

Issue with datepicker, cannot click on date / not filling field


I have been searching for a day or two now with no luck. Here it
goes:
I need a jquery datepicker to work in a jquery modal dialog. What I
was expecting to run into was an issue with css z-index positioning,
but everything appears fine until you click a date. The date
backgrounds change onmouseover just like they should, but as soon as
you select a date, I get nothing. The datepicker closes down without
selecting a date.
I have tried changing the settings as best I can think of. I have
tried this as an inline datepicker, as well as on the dialog if have
adjusted the bgiframe and modal options to both true and false. I
don't think that this is a css issue, because it appears that
everything is working properly. That, and I've changed it a million
or more times.
Another thing to note is that this works outside the modal dialog
box. In fact, I've even just copied my code for my input box from the
modal dialog to outside of it, so I know my syntax is correct.
I'm running jQuery version 1.3.2 (the latest) and jQuery UI version
1.7.2 (the latest).
Anyone with insight please respond. Any help is greatly appreciated.
Thanks,
-Kyle