Flight config dialog refactoring