updated docs for modal