Implementing settings dialog for real.