add cxActionRoot onBegin onEnd event