No need to support window.alert as a callback - that's just silly.