Cleaning up the datepicker functionality for the edit order modal.