A link runs a script that opens a pop-up edit window. After making changes via form, the user presses the submit button.

I know of a way to close the window using onclick, but is there a way I can also tell the browser to reload the main page (with the link to the edit pop-up)?