implement delete UI