rearranged initialization of licensedialog