ui.controller.setupFor(new ProjectModel(Main.wallet), false);
}
public static void openForEdit(Project project) {
Main.OverlayUI<EditProjectWindow> ui = Main.instance.overlayUI("subwindows/add_edit_project.fxml", "Edit project");
ui.controller.setupFor(new ProjectModel(project.getProtoDetails().toBuilder()), true);
}