Show node links in modal buttonpane I want to show some node fields in buttonpane when I open node in modal.
As far as I know, it will automatically show there inputs with type submit and links with class button, but I added class button on email field link, anchor rendered is like:
&lt;a href=&quot;mailto:test@example.com&quot; class=&quot;button&quot;&gt;Send email&lt;/a&gt;

but it's not showing in buttonpane.
Any idea why and how to fix it?
Ah, I just figured out from core/misc/dialog/dialog.ajax.js that I need wrapper with class form-actions.
&lt;div class=&quot;form-actions&quot;&gt;
  &lt;a href=&quot;mailto:test@example.com&quot; class=&quot;button&quot;&gt;Send email&lt;/a&gt;
&lt;/div&gt;