fixed resizing calendar dialog