delete resource was attempting to use bootbox to show error.