Use current window when querying tabs for pasting the link