Also to note, it work in another similar situation, but causes a full, not partial postback... (reverts to home tab).
The JS alert Error message also contains the page header if that helps.