                              :label "Skip"
                              :on-click #(do (finish-tour tour)
                                             (ls/set-item! :closed-tour? true)
-                                            (reset! showing? false))
+                                            (reset! showing? false)
+                                            (dispatch [:focus-console-editor console-key]))
                              :class "btn-default"
                              :style {:margin-right "15px"}]
                             [button

                   [:p "Thanks and enjoy."]]}})

(defn welcome-modal-dialog
  []
  (let [showing? (reagent/atom true)
        closed-tour? (ls/get-item :closed-tour?)]
    (fn []

                        [console]]]
                      [re-complete/completions console-key #(do (dispatch [:console-set-autocompleted-text console-key])
                                                                (dispatch [:focus-console-editor console-key]))]
                      [welcome-modal-dialog console-key]
                      [finished-tour-modal-dialog console-key]]]
        (if (= :narrow @media-query)
          [v-box
           :size "1 1 auto"
