add composition.afterDispose handler to track composition dispose action