How come my modal panel reloads the whole page (although it is hidden), when I press enter on any input field. This should not happen, I'd rather want the ajax request to be queued when pressing enter.
I tried to move the modalpanel into its own a4j:region and its own a4j:form, but this did not help.
Without the modalpanel, the input-fields react like they should. It does not matter where I place the modalpanel.
Any suggestions on how to prevent this behaviour?
there is nothing about modal panel. You just have input type="submit" inside so the browser uses it as default for submit control.
Use hotKey in order to process Enter key presses as you need.