Also, My application is deployed in weblogic server and we are using weblogic portal framework as well. one more important note is the modal panel works fine in mozilla and comes up all the time seamlessly.
Got the solution some how.
- Created a seperate form for the modal panels.
- Also, I was re rendering the form which is not correct. So i created <a4j:outputPanel> to reRender