diff --git a/src-tauri/src/commands/dialog.rs b/src-tauri/src/commands/dialog.rs
index ceb812f..5e8edce 100644
--- a/src-tauri/src/commands/dialog.rs
+++ b/src-tauri/src/commands/dialog.rs
@@ -4,7 +4,7 @@
//! specifically for picking SSH key files.
use rfd::FileDialog;
-use std::fs;
+use std::{fs, path::Path};
/// Opens a file dialog to pick an SSH private key file.
///
@@ -18,9 +18,9 @@ use std::fs;
/// or an error if the dialog failed to open.
#[tauri::command]
pub async fn pick_ssh_key_file() -> Result