Adds the selected image and closes the window.
Adds the selected image, but leaves the window open.
Closes the window without selecting an image.