This might be a really stupid question. I'm just beginning to learn more about design patterns.

Ok, let's say that I want to detect whether or not a user has made a change anywhere in the dialog box. If the user has made a change anywhere, then I must set the configuration. I cannot set the configuration in the user has *not* made any changes.

This dialog box contains *many* different text fields, combo boxes, radio buttons. It seems to me that using memento would be a right approach for this problem? Or is there a better approach or alternative?