adding iso 8601 date format and formatting close button