fancy date in input dialog fix