refined modal, updated docs