See this Comm Center thread by Shai Kaspi. Title says it. This is going to be a big problem if running via web. You cannot pop up a message box within the frmMain.OpenDome() method. You would want a popup on the Dome Control window all right, but on everything else an error should force the dome to show ShutterError until disconnected/reconnected.
This will require some thought!