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/