How to dismiss or dispose confirm box on inactivity?

Inductive Automation Team,

We are using system.gui.confirm("…") as part of our logic like below:

[code]if system.gui.confirm(“Are you sure you want to move record?”, “Move record?”):

Logic for move record.[/code]

However, once the confirm box has been shown, we would like to dismiss or dispose it if they don’t respond Yes / No within 10 seconds. How to achieve this functionality?

Waiting for your response.

Try this: Instead of using system.gui.confirm, use a popup window or reveal a container with Yes / No buttons. Now you can control timing with a Timer component, etc.

Thank you Adam. I think, this is the way we can resolve current issue.