A dehumidifier doesn’t suck water from a toilet. It extracts microscopic moisture particles in the atmosphere rather than actual water in the toilet bowl. However, when you flush the toilet with the lid open, water enters the atmosphere and gets sucked into your dehumidifier.