add imagelist.prompt before exit.