Well, it does wash out "properly" if you add it before pptn takes place. And the amount that washes out appears to leave just the right amount behind. It probably does form a salt with Ag+, but I have no proof of that. Just that it works better. Added after pptn, there is only the crystal surface to bond on. In most cases, modern dyes have a positive charge.