Jeff is on to something.

Much like a mother bear has to be cruel and chase the grown cubs away, you need to do the same to Dan. He needs to learn to not fall back on you. Get yourself mad and let him have it with some "to the point" rejection. You will probably have to fake much of it...

"I have no respect for you anymore and will not tolerate your whining bullsheet anymore".

"I do not want to be your friend. You drag me down, and quite frankly, I despise you".

"I want you out of my life as much as possible".

"Dont contact me unless it is about the kids".

Ask your C, but I think you are going to have to beat him down emotionally before he will learn. Dont make him think there is a crack in the door. Dont show mercy if he cries.

Tough and cruel love is what is needed.