added loading dialogs