Add loading indicator for rendering and uploading