Show loading gif when querying.