Man in custody after holding Dallas police at bay