diff --git a/GUI/FileErrorDialog.xaml b/GUI/FileErrorDialog.xaml
index 58830ee1..2072d834 100644
--- a/GUI/FileErrorDialog.xaml
+++ b/GUI/FileErrorDialog.xaml
@@ -5,6 +5,7 @@
xmlns:s="clr-namespace:GARbro.GUI.Strings"
Title="{Binding Title}" ShowInTaskbar="False" WindowStartupLocation="CenterOwner"
ResizeMode="NoResize" SizeToContent="WidthAndHeight" ShowActivated="True"
+ FocusManager.FocusedElement="{Binding ElementName=FirstButton}"
Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
-
+
diff --git a/GUI/FileExistsDialog.xaml b/GUI/FileExistsDialog.xaml
index d9ea71d6..6d2ad1c5 100644
--- a/GUI/FileExistsDialog.xaml
+++ b/GUI/FileExistsDialog.xaml
@@ -5,6 +5,7 @@
xmlns:s="clr-namespace:GARbro.GUI.Strings"
Title="File already exists" ShowInTaskbar="False" WindowStartupLocation="CenterOwner"
ResizeMode="NoResize" SizeToContent="WidthAndHeight" ShowActivated="True"
+ FocusManager.FocusedElement="{Binding ElementName=FirstButton}"
Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
-
+