Add pack - so the settingsDialog sets its size correct