You can get the TargetMesh directly from the Dynamic Mesh component, like this:
TargetMesh
Dynamic Mesh component
RebuildEvent