Prevent pages from opening in new tab