added confirmation dialogs to image creation and image writing