Your first issue is that you have not shown the dialog ... you should have something like
if (saveFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
PathSelection = saveFileDialog1.FileName;
}
The second problem is that the saveDialog doesn't actually save the file for you - you have to do that.
This could be as simple as using
File.WriteAllText
- it depends on how you've loaded the file under the other button and how you are storing it in memory