handle deletes of attributes from UI