added beginnings of an image uploading dialog