Fix editing, images, and filepicker not closing.