Note that either I'm doing something wrong or Firefox is behaving strangely here: it seems that the <h1> title shadows the "Close" button w.r.t. the mouse events. This problem doesn't happen with either IE7 or Opera, so I added a workaround for Firefox only.