Why does that seem hacky to you?
Suppose there are 3 alerts on the page, all of which have different heights. For each alert I need to generate a unique id
value to call Browser.Dom.getElement
and get the correct value back. Generating unique ids would likely impact the user-facing API of the alerts. And I want to make sure that the alert API is intuitive and simple.