Added openDialog function
README.md updated with new openModal() function
Merge pull request #1 from robbaman/modal

Added openModal function to open dialog with a resolving/rejecting promise