---
- fixes some problems in form re-edit mechanism. Before this change a form
lost its data if a user clicked on view tab with edit cookie set already.
Also re-edit resulted in double entries in some cases. With this change also
issue 1 was fixed, which was in fact a side effect of the above.
[jensens, 2013-09-16]