Suppose a parent window opens a popup window, and from there I do some character count validation. The character count function should be triggered only when I close the window. If the character count is below the limit, it should close normally otherwise it should display the editor with the content so that the user can work on reducing the character count and then submit back to parent window.
FYI I'm using Kevin Roth's Cross-browser editor
Thanks in Advance