adds delete feature to UI