Fix a bug where the New File dialog box would not default to the correct state.