<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
  Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:component xmlns="http://www.w3.org/1999/xhtml"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:a4j="http://richfaces.org/a4j"
   xmlns:rich="http://richfaces.org/rich"
   xmlns:f="http://java.sun.com/jsf/core"
   xmlns:ui="http://java.sun.com/jsf/facelets">
	<rich:modalPanel id="confirmation" width="400" height="250">
		<f:facet name="header">#{messages['confirm.confirm']}</f:facet>
		<a4j:form id="confirmForm">
			<h:panelGrid>
				<h:panelGrid columns="2">
					<h:graphicImage value="img/modal/ico_warning.png" />
					<h:outputText value="#{confirmationPopupHelper.caption}" />
				</h:panelGrid>
				<h:panelGroup>
					<rich:spacer height="20px" />
					<a4j:commandButton value="#{messages['confirm.ok']}"
						actionListener="#{confirmationPopupHelper[confirmationPopupHelper.actionName]}"
						id="storebutton"
						oncomplete="#{rich:component('confirmation')}.hide()"
						reRender="tree, mainArea" />
					<input type="button" value="#{messages['confirm.cancel']}"
						onclick="#{rich:component('confirmation')}.hide();return false" />
				</h:panelGroup>
			</h:panelGrid>
		</a4j:form>
	</rich:modalPanel>
</ui:component>