#851| FT work in progress i.e. added test to verify functionality of cancel on modal