Update createDialog.js

Adding backdropCancel support
Merge pull request #16 from sathishkumar-d/master

Adding backdropCancel support