[BUGFIX] Avoid warning dialog when closing records with dateTime fields