Im using buttons with actions `center.replaceWith(...
# tornadofx
e
Im using buttons with actions
center.replaceWith(find(SelectionScreen::class).root)
to change view on a borderpane, but all state is lost when switching between views?