After DoModal the controls don't exist any more. If you use the standard DDX mechanism, you get the value from the member variable, not the control.