Use labelSelector in relation context menu

This is an addendum to #116. Forgot to push it before I merged...