If InspectKeyDialog starts an agent (e.g. charade.exe), it should
stop the agent when it is closed.  We don't want lingering charade.exe
processes persisting after the Launcher exits.