pass options to select2

use data-select2-options on the select field
remove pages link tab in rte if there are no pages
https