gId becomes a panel attribute, so that we can simulate
panel.port.on('click-lang') in tests