I once had something vaguely similar happen while registering a car, though obviously with much less drastic consequences. The registration management software was running on a PC with a touchscreen. As my registration was nearly complete, a fly landed exactly on the close button of the application window. All that happened in my case was the attendant had to repeat the application process.