Fix for theme dialog.