fun Parent.addToChildListIfAppliccable(node: Node) { if (this !is BorderPane) parent.getChildList().add(node) }