fix settings dialog in text gui