Add a loading dialog when the domain is submit.