z-index added to timepicker

I used your script to put the timepicker in a modal, but the lack of a z-index caused it not to appear.