Issue with datepicker when used in conjunction with simplemodal

Issue with datepicker when used in conjunction with simplemodal

I'm not quite sure what to do here.  I am using a form in conjunction with simplemodal, where elements in the form use datepicker from jqueryUI. The datepicker launches fine the first time the form is presented, but if the form is closed and reopened, the datepicker is lost.

I have tried using datepicker('destroy').datepicker to reestablish the datepicker, but I get an inst error when I do this.

Thoughts? Example can be located at test.clickonce.ca/test2.html. To see the issue, click on Launch modal, then click on a date field to see that datepicker works. Then close the modal, click on launch modal again, note that datepicker no longer works. 

I assume that this has something to do with how modal moves the form DOM after destroying it's own overlay and container DOMs, but I'm not sure how to get around the problem.

Thanks.