Fixed 4 pop-ups when done an invalid date