improve settings dialog