Remove isIfConditionTrue() and close actions.