Implement file properties dialog (partly based on Rob D.'s winfile