CORE-5520: Edit comments menu item added to data toolbar
Also, corrected issue where some menu items were not being disabled for
items in the trash. This is related to the path vs id issues.