Added spinner when Ajax calls are made from files components.