Replaced dialog with bootstrap3 modal
Factorized modal template
Merge pull request #341 from Bladrak/dialogToModal

Replaced dialog with bootstrap3 modal
Fixed modal when error in form
Merge pull request #342 from Bladrak/modalFormError

Fixed modal when error in form
Merge remote-tracking branch 'sonata-project/master'