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

Replaced dialog with bootstrap3 modal