Return promise object that resolves with the modal object
Make callback optional
Merge pull request #369 from matiboy/368-use-promise-on-modal

#368: Use promise on modal creation