OK, I have had a little play, I use RocketDock rather than ObjectDock, but I can create a shortcut for avastUI.exe, image1 and can start the avastUI (though again can’t see the point with the icon in the tray), I can close the avastUI with either the X top right of the window or Right click on the tasklbar item and select Close, image2.

So I’m not sure what is going on in your system with ObjectDock and avast.