// (Here, we queue it to a dummy UIXCommand just so we don't
// get in a fun infinite loop of ReturnEvents!)
FacesContext context = FacesContext.getCurrentInstance();
UIViewRoot root = context.getApplication().getViewHandler().createView(
context, dialogViewId);
LaunchEvent launchEvent = new LaunchEvent(getDummyCommand(), root);
launchEvent.getWindowProperties().put("width", "200");
launchEvent.getWindowProperties().put("height", "100");
addParameter(launchEvent);
launchEvent.queue();
}