Delete buttons when editing

(not working yet though...)