create confirm and delete plugin