Use new uploader ui in layer replace

fix #867