I've modified the default confluence Page Layout to include a side menu that includes a wiki page; inside this page are my menu items. In the menu I've included a few custom links and the normal edit/add page menus:

{menubar:toolmenu}
 {menuitem}Policy Actions
  {compound-menuitem:edit|caption=Edit this Policy}
  {compound-menuitem:newpage|caption=Create New Policy}
  {compound-menuitem:copy|caption=Copy this Policy}
 {menuitem}
 {menuitem}Add
  {wikimenu}{webui-list:system.content.add|separators=true}{wikimenu}
 {menuitem}
 {menuitem}Tools
  {wikimenu}{webui-list:system.content.action|separators=true}{wikimenu}
 {menuitem}
{menubar}

so, what I have is:

|menu items (left page)| actual wiki page |

Here's the problem however. Whenever I click a menu item that uses a parentId, for example, Copy this page, it wants to make a copy of the "menu page" insead of the "actual wiki page". How can I specify that the context for my menu action should use the "actual wiki page" as the parent instead of the menu page?