added pagination and ordering for dialogs, monologs