merge portalOpen into PortalInternal constructor