jquery/jquery-ui — pull request #1218 by aravindbaskaran (2014-03-30 20:51:59+00:00)
Title: Fixes #9943. Adds support for forceClose

close API can be called without triggering the beforeClose event. As there is no way of doing it programmatically, need to include in the API.

Working fiddle with the patch applied

http://jsfiddle.net/Lj3Nk/1/