<Dialog id="addActionFragmentsDialog"
    xmlns="sap.m"
    xmlns:core="sap.ui.core"
    xmlns:f="sap.ui.layout.form"  
    title="{/title}" 
    contentWidth="500px" 
    class="sapUiRTABorder">
    <content>
        <f:SimpleForm id="addActionFragmentsDialog_Form"
            editable="true"
            layout="ResponsiveGridLayout"
            labelSpanS="4"
            singleContainerFullSize="false">
            <f:content>
                <Label text="{i18n>ADP_ADD_ACTION_DIALOG_ACTION_ID_LABEL}" required="true" />
                <Input 
                    value="{/actionId}" 
                    liveChange="onActionIdInputChange">
                </Input>
                <Label text="{i18n>ADP_ADD_ACTION_DIALOG_BUTTON_TEXT_LABEL}" required="true" />
                <Input 
                    value="{/buttonText}" 
                    liveChange="onButtonTextInputChange">
                </Input>
                <Label text="{i18n>ADP_ADD_ACTION_DIALOG_HANDLER_METHOD_LABEL}" />
                <Input 
                    value="{/handlerReference}" 
                    visible="{/hasController}" 
                    editable="false"><!--Subjected to change, when handler can be provided by user -->
                </Input>
            </f:content>
        </f:SimpleForm>
    </content>
    <beginButton>
        <Button 
            id="createDialogBtn" 
            text="Create"
            press="onCreateBtnPress"
            enabled="false"
            type="Emphasized" />
    </beginButton>
    <endButton>
        <Button 
            id="closeDialogBtn" 
            text="Cancel"
            press="handleDialogClose"
            type="Reject" />
    </endButton>
</Dialog>