better object naming convention
Deselecting chain when closing it via mouseclick