Hi I want to show a "Prompt Alert Before Page Leave". But this alert should check that the runner is ON. If runner is stopped or OFF the alert should not shown. How could I do that?