Why not do this inside `inlineEditForm.js`?
It doesn't seem very DRY to have to repeat this for every edit button.