In Lightroom, versions prior 9 the Export dialog had a very convenient behavior: any settings changed were retained, regardless of the fact that Cancel or X (close) was clicked. Now, in v9 this has been changed, so Cancelling the dialog looses all settings!
The behavior before v9 was very convenient and somehow designed with the right intent: one may forget to do further adjustments to the files being exported, so the export procedure must be postponed...
The behavior in the current version, v9 is quite unusable. Ok, if Cancel means cancelling all settings, then let the user retain the settings made already (chosing export location, file type, size, etc) so please add a third button: 'Close dialog for now' (or something similar, clearly understandable). Clicking this button should retain the settings but should not start the export procedure.