BZ1012418 - Cannot close Guided Rule Editor after removing fact pattern
(cherry picked from commit 5293e0d97feafcf0a26bba9270ff38e5c33467a4)