fix of close button of calendars for firefox