minor changes related to add image wizard error handling