Escape dismisses dialogs, but Ctrl+C does not. Both are standard TUI conventions for canceling/closing.