Moved the event handling to the view rather than the uploader.