Refactor duplicate model add/edit forms.

This combines model_add_form.html and model_edit_form.html into a single model_update_form.html.