fix modal setup