adding delete functionality to Modification