Left over sensor in soap dispenser?

Okay, I’m installing a new soap/rinse aid dispenser in my Kenmore Elite. The part is a whirlpool- the recommended replacement part. This new part has the sensor built in. The old part had a connector wire. What do I do with this connector wire thats left hanging inside the door since I no longer need it? I don’t want it to short out my dishwasher…

Just tape it up and tuck it in somewhere.