Just a minor bug, which can cause some confusion, making it seem like something hung...

When clicking on a dialog's button, if the user were to unintentionally (or intentionally?) mousedown and then move slightly (i.e. drag), and then mouseup, the down style of the button is retained without triggering the click handler.