use sweet alert for nice error messages in domain-settings