refactor(modaldialog): Reuse $dialog service in modal

Refactoring of the modal to reuse $dialog service.
As a follow up for #128

There was a request #125 for css body class. Considering that modal directive by itself contained that functionality, decided to add that option to $dialog service as well.