Currently the posting window closes automatically when posting is initiated from the posting button or the context menu and:
- The host page's tab closes
- (or) Posting completes
We should change this to only close automatically in the event that the posting completes and the link is successfully pasted into the host page's document.