how to get values from dialog into SDI doc class?

i have an SDI with a few dialogs. I need to visualize using the doc class (for getting the data) and view class (display). But my visualization can only start when my dialog is accessed by user and thereafter i will have the new updated values which I do not know my doc class will be able to update also. I wanted to try setting state flags but not sure how, can anyone help?