The problem turned out to be a couple of z-index css properties associated
with the select2 component not being big enough to work with the Wicket
ModalWindow.
Here are the changes I made to made to the select2 css to make it work with
the Wicket ModalWindow.
.select2-drop {
z-index: 30001;
}
I'm using the fantastic select2 component in my Wicket 6.7 application via
the Wicket-select2 integration package [
https://github.com/ivaynberg/wicket-select2/], version 2.2.2.
It works great on a regular page. On a page, clicking outside of the
select2 component causes the component to close.