Added paginate, quote page, and share modal

The paginate feature is not DRY. Some of the code is exactly the same in
each function.