initialize date-picker on dialog load for travi/php-framework#29