Add edit view for materials on library module