Fixed issue with setting unwanted disallowed styles by image dialog.