Fix z-index issue for datepickers
Merge pull request #747 from nlegoff/fix1559

[3.8] Fix #1559 z-index issue for datepickers