Twitter share dialog closes unexpectedly after Tweeting


I added a Tweet button to one of our pages and when testing on my local machine it was working fine, but upon uploading to our test server the dialog/intent window unexpectedly closes a few seconds after hitting the “Tweet” button. It’s happening in Chrome, FF, and Safari. Any ideas on what might be causing this?