Added basic code for image in dialog

The image is not yet fully optional.