updated z-index calculation, fixed bug where datepicker didn't pop up in bs3 modal