Dismiss undo popup when we display a dialog (e.g., Sync Conflict Dialog).