Add container to legend