New Preview Control for script dialogs

Continuing the discussion from Quick Show (New Feature):

Good day.
Sometimes I've needed a way to preview an item inside a script dialog.
There are some options right now, but they all come with downsides:

  • A "forced" standalone viewer:

    • Users can break the forced behavior, even accidentally.

    • Requires more extra code.

  • A static control with image support:

    • Only really supports images. For other file types, it just shows a thumbnail if possible.

Would it make sense to include a viewer as a control inside a dialog?
It could work kinda like Show QUICKSHOW, with no toolbars, just the preview. Maybe even with a timeout to avoid lag when opening huge files, or just load a thumbnail instead, etc.