repeat mode confirmation dialog generalization