Is it possible to use jQuery to create cross window alerts

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…

What can commonly be done is for the small window to call a function on the large window, potentially passing information to that function in the large window too.