I trying to emit and event when a mat dialog is closed. By default I can do it using its attributes but I can\'t do it by calling its close method.
My code
th