adds delete functionality in edit portfolios