autosave gallery order on preview