ERP5JS: render before commit

Since 264ded5c in ERP5JS we render the form directly after a successful edit, but this was done sometimes too early, namely, the next form was rendered before interaction workflows and this leads to problems like the ones discussed in !982 (comment 92893)

/reviewed-on !1040
7 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

01:51:18

passed ERP5.PerformanceTest-Master

00:32:43

failed ERP5.UnitTest-Master

04:02:23

passed SlapOS.Eggs.UnitTest-Master.Python2

00:18:11

passed SlapOS.Eggs.UnitTest-Master.Python3

00:18:52

passed SlapOS.Eggs.UnitTest-Master.Python2

00:23:17

passed SlapOS.Eggs.UnitTest-Master.Python3

00:18:51