properly add all images to manifest by listening to file close event