convert jquery-ui modal to Bootstrap modal