Change image delete order and remove alerts