added click event to close menus of other instances before opening new context menu instance.