cleanup in PropertiesDialog