Changed how galleries are chosen in the item form