This is lovely and with two small tweaks could be a generic form editor, usable untouched in several other places in the app:
1) Pass in the URL for the PUT via options
2) Omit $recentEditsContainer, which is independent of the other things here

Now or soon we should abstract it, rather than duplicating the code several times.