click on diagram deselects all