#805 - accidentally removed call to onSubmitted callback