workaround for resetting update forms; fixes to hot code push migration
set this.docId for insert form onSuccess, too
allow providing an onSuccess result from onSubmit (fixes #479)