The formToSubmit property allows you to submit a form when spellchecking (in a dialog window) is complete
The hideSummary property is used to turn off the spell checker's summary screen after spell checking.
In more complex cases you may wish o use the javascript events model (such as onDialogComplete) instead see example 8.