Fixed not adding values to spin boxes on date and time dialogs.