title: Wicket panel (Dialog) in not working?
body: <p>I am trying to open a dialog on register link using new Dialog() as follows
  "register" &amp; "registerpanel" these are two div that I added into html page as wicket:id="register" &amp; wicket:id="registerpanel".</p>
  
  <p>// register panel</p>
  
  <pre><code>registerDialog = new Dialog("register");
  registerDialog.add(new CustomerRegistrationPanel("registerpanel", registerDialog));
  add(registerDialog);
  
          // Register
          lnkRegister = new AjaxFallbackLink&lt;String&gt;("lnkRegister") {
  
              @Override
              public void onClick(AjaxRequestTarget ajaxRequestTarget) {
                  // ajaxRequestTarget.add(registerPanel);
                  registerDialog.open(ajaxRequestTarget);
                  //setResponsePage(CustomerProfilePage.class);
              }
  
              @Override
              public boolean isVisible() {
                  return !ZipSession.get().isValid();
              }
          };
          add(lnkRegister);
  </code></pre>
  
  <p>But I am getting an errror as,</p>
  
  <p>Root cause:</p>
  
  <pre><code>org.apache.wicket.markup.MarkupNotFoundException: Failed to find markup file associated. CustomerRegistrationPanel: [CustomerRegistrationPanel [Component id = register]]
  at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.getMarkup(AssociatedMarkupSourcingStrategy.java:97)
  at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:448)
  at org.apache.wicket.Component.getMarkup(Component.java:737)
  at org.apache.wicket.Component.getMarkupTag(Component.java:1422)
  at org.apache.wicket.Component.getMarkupIdFromMarkup(Component.java:777)
  at org.apache.wicket.Component.getMarkupIdImpl(Component.java:1479)
  at org.apache.wicket.Component.getMarkupId(Component.java:1525)
  at org.apache.wicket.Component.getMarkupId(Component.java:1592)
  at com.visural.wicket.component.dialog.Dialog$1.getDivId(Dialog.java:68)
  at com.visural.wicket.component.dialog.Dialog$1.getJS(Dialog.java:59)
  at com.visural.wicket.component.dialog.Dialog$1.renderHead(Dialog.java:54)
  at org.apache.wicket.Component.renderHead(Component.java:2707)
  at org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy$1.component(ChildFirstHeaderRenderStrategy.java:82)
  at org.apache.wicket.markup.renderStrategy.DeepChildFirstVisitor.visit(DeepChildFirstVisitor.java:96)
  at org.apache.wicket.markup.renderStrategy.DeepChildFirstVisitor.visit(DeepChildFirstVisitor.java:87)
  at org.apache.wicket.markup.renderStrategy.DeepChildFirstVisitor.visit(DeepChildFirstVisitor.java:87)
  at org.apache.wicket.markup.renderStrategy.DeepChildFirstVisitor.visit(DeepChildFirstVisitor.java:87)
  at org.apache.wicket.markup.renderStrategy.DeepChildFirstVisitor.visit(DeepChildFirstVisitor.java:51)
  at org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy.renderChildHeaders(ChildFirstHeaderRenderStrategy.java:77)
  at org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy.renderHeader(ChildFirstHeaderRenderStrategy.java:56)
  at org.apache.wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:134)
  at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
  at org.apache.wicket.Component.internalRenderComponent(Component.java:2556)
  at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1534)
  at org.apache.wicket.Component.internalRender(Component.java:2386)
  at org.apache.wicket.Component.render(Component.java:2314)
  at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1432)
  at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1596)
  at org.apache.wicket.Page.onRender(Page.java:907)
  at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:140)
  at org.apache.wicket.Component.internalRender(Component.java:2386)
  at org.apache.wicket.Component.render(Component.java:2314)
  at org.apache.wicket.Page.renderPage(Page.java:1035)
  at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)
  at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)
  at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:167)
  at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:784)
  at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
  at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255)
  at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212)
  at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283)
  at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188)
  at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:244)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:140)
  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:662)
  </code></pre>
  
  <p>Plz help me out for this. Thanks in advance.</p>