Add actions to the layer legend menu