fixed context bug when creating or editing sed and not in popup mode