First stab at handling form-post+reload in a popup