In the project properties dialog try to open the settings page or create one named MySettings. You may need to look in the doc's for more detailed info on how to create it but it's basically a storage spot for app settings you want to persist over sessions such as your dialog location, file directory start folders etc.
You might not even need it but if you are copy/pasting some code from elsewhere it will no doubt be using these settings, you may be able to redirect or re-code it to look elsewhere for stored settings to suit your purposes.