LPS-48066 defaultGroupId should be the site. See view.jsp for the exactly same code for structures
LPS-48066 SF
LPS-48066 Display scope in structures and templates
LPS-47486 -  Safari only - SPA will continuously reload the page