If I were to have a hatch, these would provide the "elastic" portion of a security system. IE: they work to hold it tightly. I would also have an absolute system (strap with a positive, over-center locking device) to prevent the hatch form traveling far, should the magnet somehow fail.
Being even more anal retentive than Hairy Mick. I refuse to have anything with any moving parts on my boats. And, I refuse to construct a waterproof hull, and then cut holes in it. Why create a leak where none existed? Hull integrity is too important to intentionally compromise it.
"Moving parts don't", but "leak-proof tanks do".