Modal window but bad modal window. Fix bug with pagination.
Modal window is better now, but it's shit too.