fix of jscode for table added modal