Safari on Mac does not recognize top.window.close or self.close
We have a situation where we get a Pop up containing two buttons "Close" and "Yes". Both the buttons are used to close the Pop up with some functionality.
We previously used "top.window.close" to close the window. But in Safari Mac combination, the Pop Up closes automatically after it opens. We later tried "self.close" also to solve the problem. But the problem persist. We have used [window.showModalDialog()] to open the Pop up.
Does anyone have any idea on how to resolve this tricky problem in safari Mac combo? Thanks in advance.