I have a SP UIModal Pop-Up, in which I have a javascript code with alert. When I click OK in my alert, my pop-up should close...
Currently , I am closing the alert message, then I need to close the model dialog using the close [X] button. But my requirement is that the model dialog should close automatically once my alert is closed.