moves form save functions from formEdit to formMaster, puts save and dup buttons outside of iframe