in reply to Popup Message Box?

If you want to get a popup ok/cancel box appear on the browser then you will need to use javascript (have a look at the confirm() function).

Your page would have to run a javascript function on loading to display the popup and then post back to your script with the users selection.

You can't display a popup on a clients browser directly from CGI.