Shortcuts with contextual menus

I have added a custom user button to the Data Browser. This custom button creates a popup contextual menu. I have programmed the menu, and I have a function associated with a keyboard shortcut. I am not able to use the shortcut to fire the function.

Here is some minimalist code that demonstrates the issue I'm having.

static function IgorStartOrNewHook(igorApplicationNameStr)
  string igorApplicationNameStr
  Execute/Q "CreateBrowser"
  Execute/Q "ModifyBrowser appendUserButton={Button, \"myButton()\", 1}, echoCommands=0"
end

function myButton()
  PopupContextualMenu/N "Button"
end

Menu "Button", ContexualMenu
  "Do it/1", /Q, doIt()
end

function doIt()
  print "Do it!"
end


If I click the button, "Do it!" is correctly printed. If I try the shortcut, the function does not execute. If I remove ContextualMenu from the Menu option, then I get a new option in the toolbar, and my shortcut fires correctly.

Am I implementing this incorrectly? Or is this a bug?

Thanks!
Shortcuts work only if the menu is in the menubar. Shortcuts don't work for contextual menus.

--Jim Prouty
Software Engineer, WaveMetrics, Inc.
Where in the manual can I learn about data browser buttons? I can't find it, and didn't figure out how to run the example code from kgord.
In Igor 7, you can execute:
DisplayHelpTopic "Managing Data Browser User-Defined Buttons"