Rick Carlisle proud of Mavericks for Battling