Update core.js

fix z index issue for datepicker in modals
Merge pull request #1 from rahulm5000/patch-1

Update core.js