Dirk's late charge not enough for Mavs