Australia in control despite Dilshan century