Wire up the menu to actually do something.