adapt modal to bootstrap 3.0