I am making a call to a php script that brings up a small window then closes itself after the user has finished doing stuff on the page i.e. <script>self.close();</script>.. what I want is to create some confirmation or alert on the current page the user is on ( i.e. after the small window closes ).. is it possible to have a modal or alert on the current window?

I know I can do an alert inside the small window, but what I want is to have some sort of confirmation displayed on the current window..