I have quick action that opens an aura lightning component. I'm basically trying to mimic the standard delete confirm dialog popup. I have the component working, but the SLDS styling is correct.
On the right side you'll see how the lightning component looks and on the left is the standard delete UI. I'd like to get the background to look like the standard delete.
Here is code for the component:
<aura:component implements="force:lightningQuickActionWithoutHeader,force:hasRecordId" controller="SalesOrderCancelOrder" access="global">
<aura:attribute name="recordId" type="String" />
<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
<aura:attribute name="order" type="SalesOrder__c" />
<aura:attribute name="msg" type="String" />
<aura:handler event="aura:waiting" action="{!c.showSpinner}"/>
<aura:handler event="aura:doneWaiting" action="{!c.hideSpinner}"/>
<section role="dialog" tabindex="-1" class="slds-modal slds-fade-in-open slds-modal_medium" aria-labelledby="modal-heading-01" aria-modal="true" aria-describedby="modal-content-id-1">
<div class="slds-modal__container">
<lightning:spinner aura:id="Spinner" alternativeText="Loading" size="medium" variant="brand"/>
<header class="slds-modal__header">
<h2 id="modal-heading-01" class="slds-modal__title slds-hyphenate">Cancel Order</h2>
</header>
<div class="slds-modal__content slds-p-around_medium" id="modal-content-id-1">
<p>Are you sure you want to cancel this order?</p>
</div>
<footer class="slds-modal__footer">
<lightning:button name='No' label='No' onclick='{!c.handleConfirmDialogNo}'/>
<lightning:button variant="brand" name='Yes' label='Yes' onclick='{!c.handleConfirmDialogYes}'/>
</footer>
</div>
</section>
<div class="slds-backdrop slds-backdrop_open"></div>
</aura:component>
I was referencing the lightning modal examples in the documentation. Is it possible to get the background of the modal to look like the standard delete?