Header mail modal fix