can try this.
Seems a bit hackish, but you could call a nanoflow in which you open your new page and call a javascript action to simulate click something that does nothing (e.g. the body element), deactivating the button:
document.getElementsByTagName('body')[0].click();
Or put this line as javascript in an htmlSnippet in your layout. There should be something better though.