Save state of OpenFileDialog