fixes errors in dialog box date spiners