ajust the modal size to confluence spec and add jsdoc