add alert when entityid changed