simple mechanism to avoid duplicate prompts