Bound OK and Cancel to commit and revert