edit templates of add & modify page