GTNPORTAL-3164: Fix condition edit rollback on "Cancel" button click.