add confirmation modal when rebase or recover