void invoke(Page page) {

		pageTextBox.setPage(page);
		page.deselect();
		createContentPane();

		if (needNewDialog(dialog, page)) {
			dialog = ModelerUtilities.getChildDialog(page, true);
			String s = Modeler.getInternationalText("CustomizeTextBoxDialogTitle");
			dialog.setTitle(s != null ? s : "Customize text box");
			dialog.setContentPane(contentPane);
			dialog.pack();
			dialog.setLocationRelativeTo(dialog.getOwner());
			dialog.addWindowListener(new WindowAdapter() {
				public void windowClosing(WindowEvent e) {
					cancel = true;
					dialog.dispose();
				}

				public void windowActivated(WindowEvent e) {
					textArea.requestFocusInWindow();
				}
			});
		}

		uidField.setText(pageTextBox.getUid());
		indexLabel.setText(pageTextBox.index == -1 ? "to be decided" : "#" + (pageTextBox.index + 1));
		if (pageTextBox.widthIsRelative) {
			widthField.setValue(pageTextBox.widthRatio);
		}
		else {
			widthField.setValue(pageTextBox.getPreferredSize().width);
		}
		if (pageTextBox.heightIsRelative) {
			heightField.setValue(pageTextBox.heightRatio);
		}
		else {
			heightField.setValue(pageTextBox.getPreferredSize().height);
		}
		String text = pageTextBox.getText();
		textArea.setText(ModelerUtilities.deUnicode(text)); // Victor Vicovlov
		if (text != null && text.trim().length() >= 6) {
			pageTextBox.setContentType(text.trim().substring(0, 6).toLowerCase().equals("<html>") ? "text/html"
					: "text/plain");
		}
		else {
			pageTextBox.setContentType("text/plain");
		}
		textArea.setCaretPosition(0);
		borderComboBox.setSelectedItem(pageTextBox.getBorderType());
		transparentCheckBox.setSelected(pageTextBox.isTransparent());
		bgComboBox.setColor(pageTextBox.getTextComponent().getBackground());

		dialog.setVisible(true);

	}