ITerm (mac command-line) asks annoying questions before quit

command lineitermosx-snow-leopard

Running OS X 10.6 snow leopard. I like to open iTerm for a quick editing of files. And then quit it so I do not have to see it in the dock.
This is what has happened: I upgraded iTerm to the most recent version.
When I now turn it off this happens. A dialog box comes up.

Quit iTerm2? All sessions will be closed. *Cancel *ok.

(Surely this is from preventing me accidentally quitting an ongoing process). The preferences in iTerm plus searching with Google gives me nothing, so I'm stuck.

Best Answer

There's a preference for that. See focused checkbox:

enter image description here

It's connected to the "Warn me" directly above it, as in, if there are active sessions, it'll be displayed anyway if "Warn me" is checked, but "Confirm" isn't. Uncheck both to never get bothered.