add modal to generator