fixed h1 safe frame on legend modal