add calendar view and dialog