popup legend (issue #32)