update docs for modal