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 is now set even if elements aren't
fading.

Finally I also substituted tabs with spaces.