Add CustomProgressDialog and InputDialog