Added ability for the model to create the main edit form.