Add a dialog to revert patches.