Fix #175.

 Change to image chooser: 'Upload' tab now retains focus if submit action returns a form error.