title: Alert disappears by itself in the http response without waiting for the user to click on ok
body: <p>If I put the alert anywhere else it waits for the user to click on ok but inside the response it shows for 1 second and then vanishes by itself.</p>
  
  <pre><code>       this.data.sendContactForm(userDetail).subscribe((res: any)=&gt;{
              this.contactForm.reset();
              this.contactForm.markAsUntouched();
              this.submitted = false;
              this.contactForm.controls.service.setValue("");
              grecaptcha.reset();
              this.captchaResponse = false;
              this.loading = false;
              alert("Success");
          },(err)=&gt;{
            this.loading = false;
          });
  </code></pre>