in reply to Alert window

Add a little javascript. CGI is server side, you need to use a client side method and javascript is the most supported.

<script type='text/javascript'> alert('Hey there dude!'); </script>