datepicker z-index

I was using datepicker in a modal, and the lack of a z-value caused it to appear behind the modal.