Refactor click handlers on upload button.

Instead of binding and unbinding, bind the data to the outer scope.

Fixes https://github.com/TryGhost/Ghost/issues/2028.