Add dialogWidget when leave software and connected.
Add deconnection MCode