Create bootstrap modal via javascript