Bug fixes and layout changes in image and youtube dialogs