modify loadingdialog class