fix content dialog settings not being properly reset
Merge pull request #5850 from Montellese/fix_content_settings_dialog

fix content dialog settings not being properly reset