Error Message Box in Perspective

I have one popup box to edit dates in a perspective table and related database. When the user clicks save, a script checks if rows need to be inserted or deleted. If they need to be deleted, I want to warn the user with a second popup box that the save script calls.

So far, all the scripted popup options I’ve found only work in the Vision client. I’m using Perspective. What’s the right way to do this?

Here's a code example. You would create a view called popUpView and add some parameters of the view so you can pass info to it.

viewName = 'popUpView'
params = { 'Parameter1':someValues}
title = 'POPUP Title'
system.perspective.openPopup('puStatus', viewName , params, title)

Thank you! That was the code I was having a hard time finding.