Pages: implemented editing