Add support for copy+paste between different windows