[MODIFY] Need to detach window to upload images.