(#69) portal: moved setting widget root element IDs to widget loader