Adds a date picker with a date picker fragment.