Fix LHM issue #6671

    Use session for copy-pasting menus