how can i do this in seam
Have a look at the richFaces modal.http://livedemo.exadel.com/richfaces-demo/richfaces/modalPanel.jsf;jsessionid=682FCCAC27F3FA74A2F927EE25C20510?c=modalPanel