Clean up edit form.