Reorder items on the image dialog