A better solution would simply be to be disconnect without showing the dialog box and big black screen. This is annoying because if accepted, the resolution from the prior session is restored which might not match the resolution of the current monitors the laptop is connectd to, and so the bet option is to say no, and then reconnect. On multiple Macbook versions, when a session is active and the connection is broken say when the laptop is put to sleep by closing the lid, when the computer is openned again it asks the question do you want to resume session. In particular on a i9/AMD 2018 Mac, connected to a Display Link docking station, if the docking station was unplugged during a live RDP session, the software would cause the screen to go black, and it was irrecoverable until rebooted. The software serves its purpose, but it is wrought with bugs and suspect UI design elements that for several major releases hav e not been addressed.