dialog_duplicate_rsc
Open a dialog to duplicate the current resource with a new id and title.
The required id argument identifies the source resource. Submitting the
dialog calls m_rsc:duplicate/3, creates the copy as unpublished, closes the
dialog, and redirects to the new resource's admin edit page.
{% button text="Duplicate" action={dialog_duplicate_rsc id=id} %}