final UIPopup popup = (UIPopup) CreateComponentUtils.createComponent(
facesContext, UIPopup.COMPONENT_TYPE, RendererTypes.POPUP, popupId);
popup.getAttributes().put(Attributes.Z_INDEX, 10);
picker.getFacets().put(Facets.PICKER_POPUP, popup);
popup.setRendered(false);
popup.onComponentPopulated(facesContext, parent);
final UIBox box = (UIBox) CreateComponentUtils.createComponent(
facesContext, UIBox.COMPONENT_TYPE, RendererTypes.BOX, "box");
popup.getChildren().add(box);
// TODO: set string resources in renderer