get-can-close-parent in editor:file<%>

The result of this method is used as the parent for the dialog that asks about closing.