removes edit-type button