fix(edit) if menu not loaded -> not close