Fix modal context