tell the parent of myPage to make group with properties {group items: myItems}

end tell

active page belongs to the layout window (which belongs to the application), not the document. Also—there's no reason to select the items; you can just add them to your group. And I think you always want to add the group to the spread rather than any other unit.