I think you can add a link when you create a swf file in Xara to an external website, but I tried and was not able to link the flash file directly to the pop up layer. I also tried to link from Web Designer to another page and to an external URL without any luck.

And sledger pointed out to me that the rectangle will work if it is 100% transparent and you can select it from the Page and Layer Gallery > Layers area.