Clean up spark settings dialog