@FXML
    private void handleBtnModifyAction(ActionEvent event) {
        if (table.getSelectionModel().isEmpty()) {
            return;
        }

        mode = Mode.MODIFY;
        selected = table.getSelectionModel().getSelectedItem();
        txtName.setText(selected.getName());
    }