Show dialog first, and then calculate width. This will allow a preloaded to be added for images etc

Fixes some more issues with widths for videos on small screens.

Updated docs to reflect that height is no longer used on videos as ratio is now calculated.