On the popup form, there are two buttons. The Cancel button simply closes the window, again with a redirect to url:
The Create button submits the page for normal DML processing. I have added a final page process on the popup page of type 'close popup window' that is conditional on pressing the Create button. This all works fine, the popup closes, the database is updated and the user is back on the report page 3.