the case: select preferences from the menu -> p...
# tornadofx
r
the case: select preferences from the menu -> preferencesView gets docked -> do your thingy -> use the left button from the workspace to go back to the mainview -> the preferencesView gets undocked