Removed bug where change image size dialog would launch even if a text
media was selected.