added save and delete buttons to the popup