finish the context menu