Convert DateDialog and CoordinateInputDialog to DialogFragments, closes #3852