We are creating a custom dialog where the user can select some items and then click the "Apply" button (This button is totally created by us / HTML and function (click)). When the user clicks this button, we are implementing a process. When this process is finished, we should close the dialog automatically.
This is the implementation of the custom dialog

Same as SELECTOR_SERVICE.openDialog(dialogData), is there a .closeDialog() method? How can we close the dialog?
We are creating a custom dialog where the user can select some items and then click the "Apply" button (This button is totally created by us / HTML and function (click)). When the user clicks this button, we are implementing a process. When this process is finished, we should close the dialog automatically.
This is the implementation of the custom dialog

Same as SELECTOR_SERVICE.openDialog(dialogData), is there a .closeDialog() method? How can we close the dialog?