add loading indicator for retrieving analyses