We've got a page with a wicket form and just one submit button. When we press return key in a form field the form is submitted
with no problem. Inside form we have one link that opens a ModalWindow via ajax.
This window contains another wicket form which is submitted by a IndicatingAjaxButton.
The problem comes when we hit return key on parent page's form after we've opened and closed ModalWindow. In this case we get the following exception:
"org.apache.wicket.WicketRuntimeException: Submit Button <window's button name>
is not visible".
It seems that even if we have closed window, its submit button is still be active.