adding button on edit page to add/edit related items