add revert button