setting attachment links to open in new tab