Delay datepicker popup compilation until required.