I recently had the same issue that I reported here:
In Activity Monitor, how would you find the Custom HTML Prompt? Is there something common to all Prompts that makes them easy to find?
In my case, I also felt that once the prompt crashed, Keyboard Maestro was no longer the one to blame or responsible to closing the window, but I couldn't figure out what to search for in Activity Monitor, so I just restarted the computer.