fix the issue eodetailmodal and timeline always show the first item
implement eventhandler in erdetails