fix: exception when saving dash (#13300)

* fix: project None value

* fix: pre-commit
diff --git a/superset/views/core.py b/superset/views/core.py
index 155555e..2c390c4 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1178,7 +1178,10 @@
         # the dashboard was open. it was use to avoid mid-air collision.
         remote_last_modified_time = data.get("last_modified_time")
         current_last_modified_time = dash.changed_on.replace(microsecond=0).timestamp()
-        if remote_last_modified_time < current_last_modified_time:
+        if (
+            remote_last_modified_time
+            and remote_last_modified_time < current_last_modified_time
+        ):
             return json_error_response(
                 __(
                     "This dashboard was changed recently. "