In src/gui_2.py:
1. In '__init__', initialize 'self.ui_separate_task_dag = gui_cfg.get("separate_task_dag", False)'.
2. In '_gui_func', add logic to render the 'Task DAG' window if 'self.ui_separate_task_dag' and 'self.show_windows.get("Task DAG", False)' are true. Use:
   if self.ui_separate_task_dag and self.show_windows.get("Task DAG", False):
    exp, opened = imgui.begin("Task DAG", self.show_windows["Task DAG"])
    self.show_windows["Task DAG"] = bool(opened)
    if exp:
     self._render_task_dag_panel()
    imgui.end()
3. In '_render_mma_dashboard', add 'ch, self.ui_separate_task_dag = imgui.checkbox("Pop Out Task DAG", self.ui_separate_task_dag)' before the '4. Task DAG Visualizer' section. If 'ch' is true, update 'self.show_windows["Task DAG"] = self.ui_separate_task_dag'.
4. Move the entire '4. Task DAG Visualizer' and '5. Add Ticket Form' sections into a new method '_render_task_dag_panel(self)'.
5. In '_render_mma_dashboard', call 'self._render_task_dag_panel()' only if 'not self.ui_separate_task_dag'.
Use 1-space indentation.
