Added dimming rules for edit window menu