diff --git a/doc/classes/ConfirmationDialog.xml b/doc/classes/ConfirmationDialog.xml
index 8a8d1ed9e86..01a2eebce5d 100644
--- a/doc/classes/ConfirmationDialog.xml
+++ b/doc/classes/ConfirmationDialog.xml
@@ -5,6 +5,10 @@
Dialog for confirmation of actions. This dialog inherits from [AcceptDialog], but has by default an OK and Cancel button (in host OS order).
+ To get cancel action, you can use:
+ [codeblock]
+ get_cancel().connect("pressed", self, "cancelled")
+ [/codeblock].