Component: check whether a DOM click event would open in a new tab.