An id is also set on the "open legend" element.