public NamePopup(final Stage parentStage, String titleText)
			throws MalformedURLException {

		this.root = new StackPane();
		this.root.autosize();

		this.scene = new Scene(root,
				AppSettings.getDoubleValue("name.popup.width"),
				AppSettings.getDoubleValue("name.popup.height"),
				Color.web(AppSettings.getStringValue("name.popup.bgcolor")));
		File nameStyle = new File("resources/style/name.css");
		this.scene.getStylesheets().add(
				nameStyle.toURI().toURL().toExternalForm());
		this.scene.setFill(Color.TRANSPARENT);

		this.stage = new Stage();
		this.stage.setScene(scene);
		this.stage.initOwner(parentStage);
		this.stage.initModality(Modality.APPLICATION_MODAL);
		this.stage.setTitle(titleText);
		this.stage.initStyle(StageStyle.TRANSPARENT);

		Group mainRoot = new Group();
		StackPane rootStack = new StackPane() {

			@Override
			protected void layoutChildren() {

				super.layoutChildren();
				stage.setWidth(getWidth());
				stage.setHeight(getHeight() + 20);
			}
		};

		rootStack.autosize();
		rootStack.getStyleClass().add("popUpStage");
		mainRoot.getChildren().add(rootStack);

		this.root.setPadding(new Insets(0, 0, 0, 0));
		this.root.getChildren().add(mainRoot);

		VBox popupContent = new VBox();

		HBox header = initHeader(titleText);

		StackPane content = initContent();

		initActionBox();

		popupContent.getChildren().addAll(header, content, actionBox);
		rootStack.getChildren().add(popupContent);
	}