(default) Button problems

Ignition 8.0.12
We have some difficulties with buttons. On a popup we use buttons and text input fields.
We use templates for both the button and the text input field.
If there are multiple buttons on the popup, then one of these buttons is defined as the default button. If there is only 1 button on this popup, this is the default button.
The following occurs. Normally a default button will turn light blue and if you press the enter key, the function will be executed under this button. However, not here. It seems as if the button no longer has the default functionality because it is in a template. For buttons placed directly on the popup, the default functionality works as expected.
Is this correct?