Also put back set_layout. This is causing two things: a) on MacOSX the next / cancel buttons vanish if in one position b) on all O/Ses the Next button is not the default We're obviously abusing StackedLayout in an unintended way.