to accept jid and affiliation and to not use a Model to store state
This makes it easier for 3rd parties to embed it in other modals (besides the bootstrap modal).