I.e. if you set $saveAsEnable=1; and $closeByClick=1; it should close the window when you left-click on it, and should suggest the menu of saving options when you right-click on it.
I've now tried several times, Firefox (here V3.6.12) closes with each click (right or left) the window.
Of course I have your test page with my Firefox visited. After logging in there, but it looks no different from my Site (each click (right or left) close the Window - no way to download the picture.(with IE-Browser it works!)
With the settings:
everything works, but just not close the window by mouse-clicking (left) with my Firefox.
But well, a user of looking how to start a download ... that can safely close the window itself :) Not really a big problem for me.