fix modal styles and structure