Disabling remote disconnect dialogs

Hi,

I’m on 7.1.2 running on centos-7.2.1511. When I have a sync session, I get this modal dialog every time a user disconnects.

disconnect

How can I disable this? At first I thought maybe it’s as simple as binding to an event and re-implementing it without the dialog. These ones look interesting:

remote-network-stop
remote-connection-stop
remote-contact-error

And in fact if I bind to these without rejecting the event, the dialog goes away… sometimes. There must be an event I’m missing though because some still get through. And I’m not too sure about overriding the functions called by these events just to kill the dialog, which might have unintended consequences.

Any ideas?

Thanks,
Ean