Saving state for presentModalViewController in iOS application
===

I am created a application where i required a Filter Button. When i Click on Filter Button, ModalViewController will pop from the button of the screen. 

        [self presentModalViewController:filterActivity animated:YES];


When I am done with that filter screen

    [self dismissModalViewControllerAnimated:YES];

Now problem is when i dismissModalViewController then all the date entered in UITextField is gone. Is there any way to save the data or save the state of presentModalViewController ?

 