Hi Simon: just drop the code (<input type=button value="Close Window" XonClick="javascript:self.close();">) into the HTML code of your new web page resource. (Use the <> button in the HTML editor menu bar to see the code)
Hope I'm not teaching granny to suck eggs.......
Cheers
Dave
(p.s. just realised how old this post was....doubt it's relevant anymore)