refactor and incorporate post-edit processing for managing editor form