UTG_Graph::Modify

Overwrite the modify to also mark the transient states as dirty.