Add loading dialog.