Adding loading spinner to the select content reference modal tree.