this.surface.getDialogs().getWindow( 'wikiaOrientation' ).open() wouldn't be good enough?