Adding loading dialogs.