fix modal context