context menu listener only if needed