title: What is the 'on quit' handler used for?
body: <p>I know all of the basic handlers, i.e. <code>on run</code>, <code>on open</code>, and <code>on reopen</code>. But this handler, <code>on quit</code>, confuses me. My questions are, what is it used for and how is it triggered?</p>