Fixed some bootstrap modal problems.