fix(modal): apply bs3 changes to the template, fix fade out, adopt tests