safari should also be included for the document events so that the modal window isn't sticky (not let go) when dragging quite fast (from 1.4)