ensure ids are passed to modal graph, not object addresses