patch 8.2.5084: when the GUI shows a dialog tests get stuck

Problem:    When the GUI shows a dialog tests get stuck.
Solution:   Add the --gui-dialog-file argument.
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index f50462a..aa6fc83 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -431,6 +431,13 @@
 		Also avoids the "Reading from stdin..." message.
 		Also avoids the "N files to edit" message.
 
+--gui-dialog-file {name}				*--gui-dialog-file*
+		When using the GUI, instead of showing a dialog, write the
+		title and message of the dialog to file {name}.  The file is
+		careted or appended to.  Only useful for testing, to avoid
+		that the test gets stuck on a dialog that can't be seen.
+		Without the GUI the argument is ignored.
+
 							*--ttyfail*
 --ttyfail	When the stdin or stdout is not a terminal (tty) then exit
 		right away.