We’re launching the modal dialog from a case in Cosmos Portal and the moment we close the modal dialog using hideModalWindow, it throws an exception “NullStepPage”.
While the close button on top right of modal dialog, does the job correctly. I was actually looking for the API to invoke the same function used in cross button in header, from our close button.
We also tried the Cancel option but even that throws some error in our case.