ticket 4: added image dialog