             (on-submit [event]
               (dom/prevent-default event)
               (let [page (assoc page :options opts)]
-                (rs/emit! (udp/update-page-metadata page))
+                (rs/emit! (udp/update-page-metadata page)
+                          (udw/initialize-alignment-index (:id page)))
                 (lightbox/close!)))]
       (html
        [:form {:on-submit on-submit}

      (l/focus-atom wb/page-l)))

;; --- Form Component

(defn- settings-form-render
  [own]

            [uxbox.constants :as c]
            [uxbox.rstore :as rs]
            [uxbox.data.pages :as udp]
            [uxbox.data.workspace :as udw]
            [uxbox.ui.icons :as i]
            [uxbox.ui.mixins :as mx]
            [uxbox.ui.lightbox :as lightbox]
