Make uploads work across form redisplays