fix FilePropertiesDialog

+ cleaned unused stuff