I will bet you that the dishwasher comes with an instruction book that informs you that it MUST be grounded. It is a code violation to ignore the manufacturer's instructions when connecting any appliance.