Exclude tools from catch-all menu in media and reference edit dialogs

Change-Id: Ic3c94099fa1db5b1a40ac2a2dbf17562cb36c73b
Merge "Exclude tools from catch-all menu in media and reference edit dialogs"