Fixes to the edit form.