deleteWithUndo() (called by ctxMenuDelete) was removing the node from the local tree but never notifying the sidebar to refresh. Added dispatch of 'flowdeck:sidebar-refresh' event so the sidebar tree updates dynamically without requiring a full page reload.