Dishwasher was tripping the fuse box, but now appears to be working?
First it is NOT safe to use. You're GFCI, AFCI, and overcurrent protections (Breaker) are in place to protect you from shock and burn hazards. If they are tripping it means something is wrong and could be dangerous. So turn off the breaker and do not use the dishwasher.

An intermittent trip means you dishwasher is not safe under certain circumstance. In this case I would guess that during a cycle something is leaking water and shorting out. So when you allow it to dry out you can reset the breaker. Understand electrical problems do not fix themselves. It was smart of you to call out a skilled person to investigate the problem.