make sure control group runs after button creating widgets