An unbroken fifth-wicket stand of 114 put the home side in control after Sonal Dinusha followed his century with two breakthroughts