Bug fix

Add close event for Import/Export settings dialogue #48