use Operation::contract for New and Edit actions.