Remove some more redundant dialog styles and fix an issue where preference dialogs would crash when the screen is rotated.