DataStorage dataStorage = uiPortalApp.getApplicationComponent(DataStorage.class);
PortalConfig portalConfig = dataStorage.getPortalConfig(pcontext.getSiteType().getName(), pcontext.getSiteName());
UIPortal transientPortal = uiWorkingWS.createUIComponent(UIPortal.class, null, null);
PortalDataMapper.toUIPortal(transientPortal, portalConfig);
UIPageBody uiPageBody = transientPortal.findFirstComponentOfType(UIPageBody.class);
uiPageBody.setUIComponent(prepareUIPage(page, pcontext));
// uiWorkingWS.setBackupUIPortal(currentPortal);
// uiPortalApp.setDefaultEditMode(ComponentTab.APPLICATIONS, EditLevel.EDIT_PAGE);