Yes dialysis machine cannot take out some toxin substances that makes people ill in the long run and it only somewhat prolongs the life of a patient, not a replacement because kidneys have a lot of function besides taking extra water from the body.
We wish for scientists to discover a kidney replacement though but maybe in other ways better than dialysis is ok too.