Smith welcomes agreement on press regulation