implement the "open in new window" context menu functionality

We're better than the original, aren't we ;)

Now, the example is finished, unless you want to implement the still missing i18n functionality..

Pete