Fixed bootstrap modal bug