jquery/jquery-ui — pull request #828 by kborchers (2012-11-18 07:24:32+00:00)
Title: Dialog: Only focus the dialog if mousedown is not in the titlebar close button

I would appreciate a review of this before I merge it since it feels dirty but I thought for way too long about a different way to do this and couldn't come up with one. Just want to make sure I didn't miss anything obvious.