Had to fix a very small line in bootstrap's normal template. Later version of bootstrap have a problem with the modal causing too much recursion when more than one is opened at a time.