Fixed model form view to allow ajax uploads