Ionic 3 disable debug error modal?

How to disable the error dialog? I’m on livereload ionic serve. I only want to hide this error dialog. I also see the same error it in the console. That’s enough. I don’t need annoyed after livereload.

If nobody has a better solution, my workaround is:

#ion-diagnostics {
  display: none;
}