adds ajax for inserting new item in the dcr details