fix for displaying datepicker on modal views in chrome