Delete ComponentPropertiesDialog when it is closed
Delete ComponentPropertiesDialog when it is closed

Otherwise it will not pick up changes in core, such as changed Quantity
and maybe other things as well, that may have been changed from HCOM

Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan