fix editor within modal