connect context menu with panel