Fixed SaveAsDialog. It now returns the selected folder instead of null.