attached window to text feature