WICKET-4926 fixed problem inside modal window; simplified; not need for
ajax reference