There should be some basic protection for the element in case there is no water, because there’s a possibility that there would be no water , and there’s also a possibility that your dishwasher would catch fire if the element is turned on with no water.
So when you’re looking at the heater element, check that there isn’t a thermal fuse nearby and check that it hasn’t blown.
Possibly your new element will have it incorporated but maybe not.
Awesome! You are lucky, some of those devices don’t have a reset - they are just like a fuse and once they are blown they need replacing.
Good to hear it’s all working again, and at least now you know for next time!