Adding a style with a specific name through the dialog, removing it and adding it again through the dialog causes an error.