Added edit action to pages