No matter what you use, clean the surfaces really well (wipe with isopropyl alcohol or acetone or something. Then let the glue cure 24 hours in a dry environment before starting the dishwasher again.
It'll probably fail because hot + wet + dishwasher soap is a really harsh environment, but you might get 6 months out of it, which might be worth it.