Validate Data Deletion from Popup Templates
A validation window opens if you add a record in a Popup template and then close it, reopen it, and select the D key on the keyboard, or the Delete button on the template. To delete the record, you can select Yes.