[contextmenu] don't show duplicate context menu items
Merge pull request #5064 from jmarshallnz/no_context_dupes

[contextmenu] don't show duplicate context menu items