                             :font-family      "sans-serif"
                             :line-height      "1.4em"
                             :font-weight      "300"}}
-    [-menu @persist? @toggle-visibility-shortcut dispatch]
+    [-menu @replay-mode? @toggle-visibility-shortcut dispatch]
 
     [-autoscrollable-div
      {:style {:position "absolute"

            :value     ""}]])

(defn -menu
  [persist? toggle-visibility-shortcut dispatch]
  [:div {:style {:text-align "center"}}
   [-menu-button {} "Clear" #(dispatch ::on-clear) "Clears debugger history"]
   [-menu-button {} "Vacuum" #(dispatch ::on-vacuum) "Removes disabled actions and signals with no actions from history"]
   [-menu-button {} "Reset" #(dispatch ::on-reset) "Removes all actions and signals resetting the model to initial state"]
   [-menu-button {} "Save" #(dispatch ::on-save) "Saves current debugger session into file"]
   [-menu-file-selector "Load" #(dispatch [::on-load %]) "Loads debugger session from file"]
   [-menu-button (if persist? {} {:color "grey"}) "Persist✓" #(dispatch ::on-toggle-persist) "Persist debug session into local storage?"]
   [-menu-button {} "Hide" #(dispatch ::on-toggle-visibility) (str "Hides debugger view (" toggle-visibility-shortcut ")")]])

(defn -actions-view

               [::on-log-action-result id]
               (-> (-find-action @model id) :result pr-str println)

               ::on-toggle-replay-mode
               (dispatch-action ::toggle-replay-mode)

               ::on-vacuum
               (dispatch-action ::vacuum)
