ajax-form.js clears a form after a save only when the page drew its text fields empty (a form that adds something); a form drawn holding values keeps what was saved, which becomes what it resets to, and an adding form with a suggested name is marked data-ajax-form-clear. A part a script sets up once and no save changes is marked data-redraw-keep and carried over into redrawn markup (the image and file pickers); store-collection-picker.js and store-product-file.js set up redrawn drawers and buttons again. HtmlFragments::changed() loads the page again when any band it would send holds a data-redraw-reloads part, and reads fragment names in either quote style; swap() finds names by comparing text, so a name with a quote still matches. Every handler reads the page a save came from through AjaxFormPage.
Fixed forms emptying after a save, and pickers that stopped opening after a save
A form that shows saved details, such as a name or a description, now keeps them after you save instead of showing empty fields. On a Store product's page, the image picker, the file picker and the Goes with and Add parts drawers keep working after a save redraws the page.