Added an submitCallback for config object