updated for version 7.2-107
diff --git a/src/message.c b/src/message.c
index 5e3e530..e0f2897 100644
--- a/src/message.c
+++ b/src/message.c
@@ -3309,7 +3309,10 @@
     {
 	c = gui_mch_dialog(type, title, message, buttons, dfltbutton,
 								   textfield);
-	msg_end_prompt();
+	/* avoid a hit-enter prompt without clearing the cmdline */
+	need_wait_return = FALSE;
+	emsg_on_display = FALSE;
+	cmdline_row = msg_row;
 
 	/* Flush output to avoid that further messages and redrawing is done
 	 * in the wrong order. */
diff --git a/src/version.c b/src/version.c
index 0ff2fd2..04dbca6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    107,
+/**/
     106,
 /**/
     105,