add selection in pages