For DetailsLists, "onActiveItemChanged" doesn't work well for opening up a modal dialog for that item as a second click on the same row (after closing the model dialolg) is ignored as the activeItem hasn't changed. "onItemInvoke" isn't great either as it only responds to a double click.
Is there a way to clear the active item?
Here are two solutions:
A: Force rebuild of DetailsList my iterating the key
1) Add state variable to parent component that holds a key value
2) Add the key to the DetailsList
3) Increment the key when the model closes:
This will force a rebuild of the DetailsList so a second click on the same for will trigger onActiveItemChanged
B: Add an onClick handler to the renderer for each column: