use bootstrap modal to open editor