Add a dialog to control the quality factor when saving an image.