Hi,
in the blank window we have a Javascript code to close popup and reload page like this:
<script type="text/javascript">if(window.opener) ........ </script>
This code is replaced by this:
<script type="text/rocketscript">if(window.opener) ........ </script>
You can see the changed output on all entire site (see screenshots of your src code), this work on normal template but not on Raw template (also used by Ajax).
So you have some plugin that rewrite output of javascript.