Thank you! That was easier then I expected. I added a single line script to the onItemClick
system.perspective.navigate(url = event.target, newTab = 'false')
and then set the items in the menu tree to “enabled : false” to stop the default navigation to a new tab.