Close pages opened from tile (smart grid)

Is there a way we can close the modal (page) from the tile extension?
presentModal() is the only api I see in the document

Hi there!

You can use window.close. It’s currently a gap in our documentation but we’re hoping to get that fixed up very soon.

Thanks for your question