// child component closed$ = new Subject(); get onClose() { return this.closed$.asObservable(); } this.closed$.next("test");
https://akveo.github.io/nebular/docs/components/dialog/api#nbdialogservice