I have 2 windows frames. Let's put it this way: a parent and a child.
How can I prevent access to the parent frame when the child is active (called from the parent). In other words, open it in read mode.
Another scenario, is that to only keep the child active and close the parent.