changes link properties to take over parent window