compose in a modal