adding functionality for opening links in new tabs