removed reference to attributeTable topic
moved rightClick menu to new function