file save implemented, now settings dialog