revert reverted code for GalleryItem title editing