Gecko doesn't like my dispatchEvent.

Here's a boring .click() instead. Boo firefox.
Save button now actually saves image.

At least in Webkit. Gecko behaves weird again.