Zamknięcie okna dialogowego Mat

import {Overlay} from '@angular/cdk/overlay';
const dialogRef = this.dialog.open(CookieDialog, {
    scrollStrategy: this.overlay.scrollStrategies.noop(),
});
Tommy