Undo changes in view for file upload