finish new and delete btn