Add a confirm to revert while wrong operation.