Hello,
This is the default behavior, when changing the theme the custom dialogs are reset because each theme comes with its own recommended default dialogs and a dialog can have specific settings depending the theme.
You can also take a look on
Changing theme deletes all custom dialogs thread which debates a similar subject.
If you have any more questions please let us know.
Best regards,
Dan