feature #1797: changed finalize and resubmit to destroy in cli and oca