WICKET-5415 Do not initialize pages which were not rendered

Initialize the page for modal window because otherwise it ends with "Page expired" exception