Menu Tree opens URL on new tab [Question]

Hello, I am using a menu tree to switch between projects on the same gateway by setting the target url but the problem is it opens on a new tab, is there a way to have it just redirect the same tab, horizontal menu does this feature but i would like to use menu tree if at all possible.