Ionic 2 When prompt alert is closed, my app is freeze

Alert component in my project. This prompt alert component. When i was reply or cancel button application is freeze. Page is not scrolling… Only freezing.

My code is here:

public clickReply(comment, page){
    setTimeout(()=>{
      let prompt = Alert.create({
        title: 'Reply Comment',
        message: "Enter a comment this placeholder!",
        inputs: [
          {
            name: 'title',
            placeholder: 'Comment...'
          }
        ],
        buttons: [
          {
            text: 'Cancel',
            role: 'cancel'
          },
          {
            text: 'Reply',
            handler: data => {
              var site = comment.page_site;
              this.commentActions.replyComment(comment,data.title, site, (res) => {
                if(res.ok) {
                  let prompt = Alert.create({
                    title: "Replied",
                    message: "Your reply is sent",
                    buttons: ['OK']
                  });
                  this.nav.present(prompt);
                } else {
                  let prompt = Alert.create({
                    title: res.error.title,
                    message: res.error.message,
                    buttons: ['OK']
                  });
                  this.nav.present(prompt);
                }
              });
            }
          }
        ]
      });
      this.nav.present(prompt);
    },500);

}

Thanks :slight_smile: