Added pages for Open and added functionality to edit