<Dialog id="addNewBBFragmentDialog"
    xmlns="sap.m"
    xmlns:core="sap.ui.core"
    xmlns:l="sap.ui.layout"
    xmlns:f="sap.ui.layout.form"  
    title="{/title}" 
    contentWidth="500px" 
    initialFocus="aggregationName"
    class="sapUiRTABorder">
    <content>
        <f:SimpleForm id="addNewBBFragmentDialog_Form"
            editable="true"
            layout="ResponsiveGridLayout"
            labelSpanS="4"
            singleContainerFullSize="false">
            <f:content>
                <Label visible="{/isCustomColumnFragment}" text="{i18n>ADP_ADD_CUSTOM_FRAGMENT_DIALOG_COLUMN_ID_LABEL}" required="true" />
                <Input 
                    value="{/id}"
                    visible="{/isCustomColumnFragment}"
                    liveChange="onIdInputChange">
                </Input>
                <Label text="{i18n>ADP_ADD_FRAGMENT_DIALOG_FRAGMENT_NAME_LABEL}" required="true" />
                <Input 
                    id="bbFragmentName"
                    description=".fragment.xml" 
                    value="{/newFragmentName}" 
                    liveChange="onFragmentNameInputChange">
                </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>