fix saving/publishing so uploadfield works, reload preview screen when module is saved