Dialog.Key (gb.form.dialog)

Static Property Key As String

Return or set the settings key used by the next dialog for storing its state.

This property is reset when the dialog is closed.

So you must set it each time you are going to open a new dialog!