fix(dialog): update to Bootstrap3

In Bootstrap3 dialogs are composed of three nested divs: ".modal",
".modal-dialog" and ".modal-content". Also, ".model" now covers
".model-backdrop" and therefore the click has to be detected on the
former. Moreover, the triggerClass has to be set on the backdrop even if
it's not fading.

Finally I also substituted tabs with spaces.