Fix UI tests build and remove debugging change from angular_dialog branch.