removes the context menu if target or parents is a link

to put open in new tab as the first option