The problem is that frame is getting displayed in front of the other frame.
1) Open first frame and it is completely displayed. 2) Open another frame inside the same application 3) Now switch to the first frame before the second frame is displayed completely. 4) The second frame is displayed to the front of the first frame.
We do not want second frame to come to front of the first frame. unless we switch to second frame.