Added the loading dialog for long loads.