Add possibility to remove htmlPreview uiElement from image plugin - errors fix.
Tests: Added ticket test.
Fixed remaining preview's usage.
Tests: Added another case for image dialog without preview.
Changelog entry.
Merge branch 't/12377'