fixed savedialog test