moved modal to cb-render