IDEX-1323: rework operations with branches to use DialogFactory