fix up and re-use the form for adds vs. edits