populate tree view when opening an existing case, tweak fxml