add ContextMenu impl to dialog manager