`is MyOtherView -> if (source.isDocked) source....
# tornadofx
e
is MyOtherView -> if (source.isDocked) source.replaceWith(this) else openModal()