Resets on second click, calender modal needs height/width changed