Hi,
In my MII UI5 App, i have added buttons but they are completely ignored and the code inside them are not working at all.
This the fragment code, which is very basic.

the fragment loads fine on the App, but when the button inside it is clicked, it doesn't close at all.
The modal is shown below. The close button doesn't work.

here is the dialog initialization code

and the code for the close button inside the Dialog.

I have tried both ways of using getCore as well to fetch the ID of the dialog and then closing it, but that didn't work as well (commented code).
This is inside MII tool App.
Can you provide a solution for this.
Thank you.