Complete functionality for edit item detail. [fw]