How to know if the program is waiting for message input, when connected to the dashboard with a PC?

Hello, I want to put a few pauses into my program execution, and have my PC then restart program execution when wanted by using the dashboard server. It seems that if I have a message, I can stop program execution until the dashboard server closes that message. My issue, is there is no way for my PC to see that the current program is waiting for an input message.
Is there a way to implement a pause in the program, which the PC can see and then resume program execution from?

Can you just set a GP_Boolean (or digital output) to true before the popup and false after closing it? Might be some special Dashboard magic somewhere, but otherwise all you have to do is read that particular bit.

Hi Eric, that is a good idea, although slightly inconvenient, and it seems to be basically the only option. Thanks.