Changed Javascript popup to html bootstrap popup