Employee was out cleaning the windows on the left side of the cab of CAT D11T Dozer. As they grabbed the door to swing it open, their hand was on the safety latch on the top of the door resulting in smashing their right thumb. Employee was taken to Colstrip Medical Center where x-rays revealed a fracture on the tip of the right thumb. Employee was released with no restrictions.