Updated resetDatePcikerMode on close to call render