made compose a modal