reload parent window when window unload