Adapted modal to bootstrap 3.