label can now be closed by clicking on it. todo: fix z-order of labels