ajax works to delete a loop now. so does sidebar!