fix last file dialog directory save