some additions to filedialog