The datepicker widget sometimes has issues with being hidden by the modal it is supposed to appear above. From what I can tell, this keeps that from happening.